Close

Audio preparations

A project log for Floppy-bird

Use a floppy-disk as a multi-frame-buffer, store audio-samples, and increase capacity to boot!

eric-hertzEric Hertz 04/16/2018 at 00:550 Comments

Before I actually start writing audio (and images!) to disk, I need to make sure my write/read technique/circuitry is "sound"...

I've implemented the test-circuitry via comparators, just for the heck of it. And to (later) demonstrate how easy it is to make use of floppy-data... no microcontroller necessary! But, we're still a ways off from that.

First, the audio is converted to PWM.

Then both PWM edges are converted to falling-edge pulses.

This, then, could be fed directly into a floppy drive's "write data" input, storing the PWM on-disk.

When read-back from the disk, the floppy drive will give these same falling-edge pulses to indicate each edge of the recorded PWM.

That, then, gets fed into my single-comparator T-Flip-Flop, to convert those falling-edges back into PWM, then directly drives a speaker.

Discussions