Skip to content
forked from windytan/ctape

Save digital data onto a Compact Cassette.

Notifications You must be signed in to change notification settings

Jonplussed/ctape

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

ctape

Save digital data onto a Compact Cassette using a format resembling that of Commodore Datassette.

Needs a config file named config.yml. Example:

device: -t alsa "hw:0"
bitlen: 16
volume: 0.98

Usage:

  • encoding: ./tape-write.rb < FILE
  • decoding: ./tape-read.rb > FILE

Explanation and videos in this blog post.

tape-write.rb encodes data from stdin to the sound card. tape-read.rb records from the sound card and decodes to stdout.

A WORD OF WARNING. Before running the script, please make sure that your speakers are turned off. For noise immunity, the signal contains a lot of power. That means it is very loud, and its spectral composition is guaranteed to turn your speakers into a long-range acoustic weapon.

Requires SoX.

© windytan (Oona Räisänen)

ISC license

About

Save digital data onto a Compact Cassette.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%