惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Full Disclosure
WordPress大学
WordPress大学
小众软件
小众软件
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
腾讯CDC
量子位
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
Scott Helme
Scott Helme
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Hacker News
The Hacker News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
Jina AI
Jina AI
Attack and Defense Labs
Attack and Defense Labs
S
SegmentFault 最新的问题
Simon Willison's Weblog
Simon Willison's Weblog
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
Google Online Security Blog
Google Online Security Blog
美团技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
罗磊的独立博客
L
LINUX DO - 最新话题
博客园 - Franky
博客园 - 叶小钗
Apple Machine Learning Research
Apple Machine Learning Research
The Last Watchdog
The Last Watchdog
J
Java Code Geeks
AI
AI
C
Cisco Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
博客园 - 三生石上(FineUI控件)
雷峰网
雷峰网
Help Net Security
Help Net Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
I
Intezer
S
Securelist

KittenLabs

Casiomania Marantz UD5007 power supply replacement AnotterKiosk GPD Pocket 4 Speaker DSP IP-over-Toslink FX3 LVDS Frame grabber Extreme Pi Boot Optimization WiFi auth with OsmoHLR/SIM cards Windows 11 tweaks & usability improvements Using custom domains as a Fediverse redirect 25GBit/s on macOS & iOS Router overclocking Real gaming router Manage RDP certificates on Windows using SSH 20 port USB-C charger Reviving a dead Gigabyte MJ11-EC1 mainboard NVMe BIOS Option ROM 2.5GbE PCIe NIC mod board Blinkekatze ThinkPad T41/T43 USB-C HomeSwitch 4 DC UPS (Lithium) OLED nametag Thermal camera macro LPT printer emulator PC104 ISA adapter Palm IIIc USB-C OtterCast Gigaset DECT debug adapter M.2 NVMe -> miniPCIe Dead TROTEC PAC2000S air conditioner Typewriter Teletype SolarCamPi Palm IIIc LED backlight IrDA to RS232 RGB LED nametag PlutoSDR standalone ADS-B FR24 feeder Five meter LED wall ATAPI Audio-CD player TCP/IP for Casio calculators eMMC (micro)SD card ISA8019 NIC Programmable logic in PHP Micro8088 build log ISA-over-USB FlexibleLOM PCIe adapter Graphical 128x64px VFD GPIO PATA/IDE on Linux CMM2 PCB OpenWRT als WireGuard-Appliance NeonMatrix Pinebook Pro M.2 WiFi Environmental sensor GPS locked Raspberry Pi Es'hail-2 transceiver setup ThinkPad PowerSeries 820 PlutoSDR clock input WiFi over satellite TV coax Search Results
Analog floppy synthesizer
By Manawyrm | Saturday, October 29, 2022 · 2022-10-29 · via KittenLabs

Or: How not to build a Mellotron

What is it?

3.5" floppy disks hold information by storing them magnetically on 80 different tracks (effectively circles) across the media. A stepper motor moves a read/write head across the media and can select which track is being accessed.

In normal computer usage, the tracks are being formatted/modulated with modified frequency modulation (MFM) to store digital data onto these tracks.

In this project, we’re using the magnetic media as analog storage, more like an audio cassette or reel-to-reel tape. The electrical interface of a IBM PC-compatible 3.5" floppy drive is very simple and just has a number of pins to step the head motor into either direction, as well as the data pins, which will read/write raw flux transitions on the magnetic media. The floppy drive itself has no real “digital” electronics, it just contains some op-amps, motor drivers, etc.

How does it work?

By modulating analog audio as a pulse-width modulated (PWM) signal into a “digital” bitstream (not unlike a Class-D amplifier), we can send analog audio to the floppy drives write head.

In this project, an NE555 was used to modulate a 300kHz carrier wave with sample audio data. This sample audio data can be provided from a sound card (or in this case by an Arduino). The same Arduino also controls the STEP and DIRECTION pins of the floppy drive and can move the head across the magnetic media.

Each of the 80 tracks is then formatted with a different sample. Typically, each of the track represents a musical note. From the outer tracks to the inner tracks, the notes go up higher and higher. By stepping the head across the disk, the appropriate note/sample can be played back.

An Arduino was used to parse MIDI input (either from a PC or MIDI keyboard), it counts the current location of the head and steps the motor to the correct notes as fast as possible. This Arduino also controls the ENABLE line of the floppy drive to turn the sample playback on/off accordingly.

Giana Sisters (square wave sample disk)

23 (square wave sample disk)

Welle: Erdball’s 23 (originally written for the C64’s SID chip) has very fast arpeggios.
The head stepper motor has a hard time keeping up with the changing notes. Seek speeds are limited to about 4ms per step.

Mellotron “Flute” sample disk (🍓)

In this example, a flute sample is stored on the disk. You can hear the large DC offset from enabling/disabling the output driver in the floppy drive and also hear the index pulse on the media. With better electronics, both of these artifacts could be silenced.