This will show you how to store any type of file on an audio cassette. Depending on whether you modify the cassette recorder or not, you can get around 1.5 megabytes on a tape. I can get this much space because I increased the speed of the motor inside the recorder to its maximum by jamming a piece of tin foil in the hole at the back of the motor. I also change the sample rates in Audacity to 132300Hz which lets me write the files to the tape much faster. When I record the files, they are recorded at 132300Hz and then the rate is set to 22050 to slow it back down to the rate at which the program can decode it. These modifications are not needed though if you are just experimenting with small files.

You will need:

A cassette recorder with a line in or microphone socket

KCS08 an old program which converts the file into sound for storing. I can not find this program on line anywhere now so I have uploaded it here.
Here is a website with a detailed description of the software:

The picture of the program will show you what parameters are available.


An audio cable to connect the cassette recorder to the line in socket on the computer

Step 1: Encoding Files to Wav

In the attached zip file on the intro, you will find the program. To encode the included bitmap image, simply double click on encode.bat. The program will then create a wav file.

To edit the batch file, right click it and select edit.
Here is what is currently in the file:
KCS -M -Y -U -L5 1.bmp 1.wav

To encode something with a different name or extension, change the 1.bmp which is the input file, and 1.wav which is the output file to a file name of your choice.

Step 2: Recording the Wav Files to Tape.

Open the wav file with Audacity and set the system volume to full. Connect the earphone socket from the computer to the line in on the cassette recorder. Press record and wait a few seconds. Press play in Audacity and wait until the file ends. Stop the recorder a second after the file ends.

Step 3: Reading and Decoding the Files

To get the files off the tape, you need to connect the earphone socket on the cassette recorder to the line in or microphone socket on the computer. Once you have done this, go into the sound properties in the volume control in Windows and select your recording device. Once you have the settings open, select listen to this device in the listen tab. Set the project rate in Audacity to 22050, Rewind the tape, press record in Audacity and press play on the cassette recorder. Adjust the cassette recorder volume until it is near the top of the sound trace in Audacity. Do not make it too high. After adjusting the volume, rewind the tape, discard the current recording and record the whole thing into Audacity at the same level. Once done, save it as a wav file under the same name as is in the batch file. In this case it is 1.wav. Run decode ignore errors.bat and wait while it decodes. Once it is done, you should see your output file in the same folder as KCS08.

Here is what is inside decode ignore errors.bat
Just change 1.wav and 1.bmp to names of your choice.
KCS -Y -U  1.wav 1.bmp
<p>I seem to have run into a problem. I've done everything explained and the audio from the cassette can't be decoded properly. looking at the waveforms in audacity, as you can imagine, the audio produced by the cassette is different from the audio produced by KCS08, as cassettes tend to lack the same precision that a computer does. Because of this, after I read and decode the data from the cassette (A 4KB text file), it decodes as &quot;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;&yuml;...&quot;</p>
<p>This is what the cassette audio looks like vs. the wav audio I recorded to the cassette, and the result of the decoding. I've tried multiple times with multiple files.</p>
Shades of my first home computer: TRS80 COCO. If the computer missed the EOF flag, all your work was toast! Ah the good old days. It had 4K of RAM and upgrading to 16K of RAM cost almost as much as the computer itself! <br> <br>Thanks for your post!
Ditto, I had a TRS-80 clone - cassette based storage - aaah what fun! NOT! <br>(my code was it really 32 years ago???) Do you remember Micro 80 magazine? best value for money computer magazine ever!
Everyone purchased the best cassette brand once they typed in an app from magazine for hours, line by line. Funnily enough, if you didn't have a high end cassette deck, that chrome or metal tape created issues with the cheap mechanism :-)
Glad you like it. I did not create the program, I just created the batch files to make it easier to use.
For the kids reading, &quot;audio cassettes&quot; were rewritable audio storage media that existed before iPods ;)<br> <br> Thanks for the flashback to the days of waiting ten minutes to load a game on my BBC micro... (shudder)
I have read that British, BBC or another organisation did a cool thing like &quot;airing&quot; an application from FM radio at late night, you plugged your computer to radio instead of tape and there you had your application.<br><br>They also distributed shareware with mags using paper like thin vinyls, carrying data in audio.<br><br>People used cassette tape because it was cheap, a diskette drive for a 8 bit Atari or Commodore was more expensive than the freaking computer itself.
I was born in 1999 and I started out with floppy disks and CD-RW. IBM and some other company are developing a tape drive that will allow 32 TB of storage. When I heard that Music on tapes were becoming no longer available, I wanted to grab every audio tape I could see when I went garage saleing with my grandfather.
<p>wouldnt speeding up the cassette make less storage</p>
<p>because the faster the tape is the farther apart the bits are </p>
<p>It seems like I am totally out of luck on running this software as it just plain refuses to run under Windows 7 64bit.</p>
<p>Did you try running it under a virtual machine with a DOS guest or DOS emulator?</p>
<p>It would actually be nice if you can store 1 GB per minute. A 60 Minute cassette tape should equal 60 GB. Storing 1.5 MB on a 60 GB medium seems like a waste to me.</p>
<p>The bandwidth of the audio tape is not high enough to allow this. Also, where did the author of the instructable state that this was a 60 GB medium? It seems to me like you pulled this 'fact' out of thin air.</p>
<p>Amazing indee, tell me please, if i Do want toget 1.5Mb from a tape, what should i do to my cassette drive?, also, what is the data capacity for the different sizes? (60/90/120).</p><p>Thanks a lot! :D</p>
Back when personal computers were something out of science fiction, and only a few people could afford them, this was known as <a href="http://en.wikipedia.org/wiki/Sequential_access" rel="nofollow">sequential access</a>.
Didn't work in the 70s/80s because the tapes stretches...
Very interesting! <br> <br>

About This Instructable




Bio: I have no interest in friends, women or men. Although friends are nice to have, I really could not care less what anyone thinks of ... More »
More by sdobbie:Quickly Make Any PWM Solar Charge Controller Into a Desulfator All Weather Solar Powered Raspberry Pi Gopro Hero 3 Black Edition IP camera 
Add instructable to: