Cassette tapes don’t last for ever, and the only copy of a program you wrote, or a rare release, may be on one in a loft. Digitising a tape turns it into a file that emulators and devices like the TZXDuino can play. As one preservationist puts it: if you have any tapes, read them now.
The file formats
| Format | Machines | What it stores |
|---|---|---|
| TZX | Spectrum | the tape’s blocks, including turbo and custom loaders |
| CDT | Amstrad CPC | exactly the same format as TZX, with a different name |
| TAP (Spectrum) | Spectrum | only standard-speed blocks: simpler, but can’t hold custom loaders |
| TAP (C64) | Commodore 64 | the length of every pulse on the tape, so any loader is preserved |
Recording the tape
- Clean the tape deck’s head first, and check its alignment: see the tape loading guide.
- Record at 44.1kHz or higher, 16-bit, mono. If you record in stereo, keep whichever channel is cleaner rather than mixing them.
- Set the level so the loudest parts come close to the top without clipping.
- Avoid filters and processing unless the conversion fails: they can make things worse.
- Some tapes read better on one machine than another. If a tape fails, try a different deck.
Spectrum tapes
tzxwav, part of the free tzxtools package, converts a recording of a standard-speed Spectrum tape to TZX, coping with speed variations and inverted signals:
tzxwav -o tape.tzx tape.wav
It is slow and can’t decode speedloaders. For those, try audio2tape, which comes with the Fuse emulator, or RamSoft’s MakeTZX, which detects many loaders automatically. Always check the result loads in an emulator.
Amstrad CPC tapes
csw2cdt converts a tape recording to CDT in two steps: the recording is first turned into a CSW file (a compressed square-wave copy of the signal), then the CSW into a CDT. Noisy tapes may need several attempts with different settings.
Commodore 64 tapes
- Straight from a datasette: a 1541 Ultimate-II+ with its tape adapter, or a DC2N, records a real datasette directly to a TAP file.
- From a recording: record the tape on a computer, then convert it with a tool such as Audiotap or tape64. Working from a WAV lets you clean up difficult tapes.
- Checking the result: a correct checksum on the loaded program isn’t enough on its own. If you can, dump two copies of the same tape: if they match, the dump is right. Tapclean helps find and fix errors.
Your rights
UK law allows the lawful user of a program to make a back-up copy of it. Sharing that copy is a different matter: if a title isn’t already preserved, preservation archives can tell you how to submit it, and they respect rights holders who ask for games to be withheld.
See also imaging old floppy disks and looking after tapes and disks.