CSW2CDT computer tape tool suite
10870 hits
eXTReMe Tracker

CSW2CDT is a cross-platform encoder-decoder of CSW (v1) 1-bit sample files and CDT/TZX (v1+) tape files. Its purpose is the preservation of single-bit computer tapes in general and 8-bit home computer tapes in particular, with emphasis on the Amstrad CPC and the Sinclair Spectrum, and their shared CDT/TZX tape file format, but also able to encode and decode TSX tapes from the MSX platform; the PZX tape format, a middle point between CSW and CDT/TZX, is secondarily supported as well. Its companion tool CSW0 is an encoder-decoder of RIFF WAVE audio files and CSW (v1) files; both encoders can thus work together to encode extant tapes into tape files, and to decode these files back into audio than can be recorded on real tapes or fed to computers and emulators alike.

The general idea of turning a source tape into a fully encoded CDT/TZX file is to be done in three steps: first, the tape must be sampled into an audio file; second, CSW0 will read that audio file and encode its contents into a partially processed CSW file; third, CSW2CDT will take the CSW file from the second step and parse its data into a fully processed CDT/TZX file that can be examined with editors and fed to emulators. Because noise is a problem in tapes (and even more so as they age and grow old) each stage may need the user to perform multiple retries with different parameters, until the resulting files are good enough to move on to the next stage.

Similarly, the reverse procedure of decoding an extant CDT/TZX file starts by feeding said file to CSW2CDT, who will decode it into a CSW file, and continues by feeding the resulting CSW file to CSW0, who will encode it into a WAV file that can be recorded on a tape or played back on a real machine or an emulator.

Both operations may require user input: removing noise following certain parameters, stating a particular type of tape encoding, etc.

The package also includes CSW2CDT-UI, a Windows binary that simplifies parts of the work by hiding the command line operations: the user can select files and options on a dialog instead of having to type commands and paths in full. The procedures stay the same, however, so the following episodes about CSW0 and CSW2CDT apply to CSW2CDT-UI as well.

The prehistory: closed source releases
[ amstrad.es | cpcrulez.fr | cpcwiki.eu | worldofspectrum.org ]
Download the current release (23 hits)
20240328 (45) 20240224 (43) 20191102 (503) 20170419 (524) 20170409 (264) 20170402 (245) 20170401 (270)
Send a comment
Return to index