2 ms·
Reminds me of sound-sampling on the C64 via the tape port: The C64 tape port is connected to the GPIO pins on the 6510 CPU. You get 1 bit amplitude data, at ro
by vidarh 12y ago
Reminds me of sound-sampling on the C64 via the tape port: The C64 tape port is connected to the GPIO pins on the 6510 CPU. You get 1 bit amplitude data, at roughly whatever spedd you manage to sample the register.
The problem there of course is that you're dealing with a 1MHz CPU, and 64K memory, and for real-time sampling you need to make tradeoffs between sacrificing sample rate for cycles to somewhat compress the data vs. running out of RAM in seconds.
For playback, it's equally primitive: With some settings, flipping the volume to max and down creates a sufficient click that doing that for 1, and keeping it off for 0 gives you recognisable sampled music output.
It's really quite amazing how low bitrate you can get to and still have recognisable music.
If you do pre-processing you can get quite tolerable, substantially longer samples (if you do lots of pre-processing you can end up with this: https://www.youtube.com/watch?v=D6MSbdUMFZ4 https://www.youtube.com/watch?v=D6MSbdUMFZ4 )