• Please review our updated Terms and Rules here

Emulation of Kansas City tape format in Python

retrohimpi

Member
Joined
Jun 11, 2010
Messages
36
Location
Saffron Walden, UK
Anyone else see this blog post?

Python's not a language I've had much to do with, but there's probably enough info in the post to enable a port to Java for my OSI Challenger emulator (see my blog). At the moment, my emulation's cassette ports read/write directly to text files on the host computer's hard disk, but it would be fun to go all the way and produce/read audio.

Anyone know how to do the opposite (decode a WAV file into a stream of bits)? I know it needs a Fourier analysis to pick out the frequencies but don't know the gory details, nor the format of WAV files.
 
Anyone know how to do the opposite (decode a WAV file into a stream of bits)? I know it needs a Fourier analysis to pick out the frequencies but don't know the gory details, nor the format of WAV files.

In case anyone's interested, the follow-up post answers my question. I didn't realise the original post was going to be the start of a mini-series.

Apparently, the Kansas City format was designed to be easily decoded and so Fourier transforms aren't required.
 
Back
Top