http://windytan.blogspot.fi/2012/08/vin ... ettes.htmlThis article mentions the Datasette of the Commodore 64 and the method used.
Quote:
Searching led me to a Wikipedia article about the Commodore Datassette. It was a tape format used by the Commodore personal computer. It used two different frequencies to encode ones and zeros, and they were read back by simply detecting zero-crossings. I exploited this invention and modified it a bit by adding start and stop bits and a 50-byte lead-in tone.
The resulting program is on GitHub.