Ctape
Save digital data onto a Compact Cassette. Fun/art project.
Install / Use
/learn @windytan/CtapeREADME
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 "default"
bitlen: 16
volume: 0.98
Usage:
- encoding:
./tape-write.rb < FILE - decoding:
./tape-read.rb > FILE
Explanation and videos in this blog post.
NOTE: This is an art project, built for fun, and not in active development any more. Many people haven't gotten it working. Can you find why it doesn't work? Can you perhaps fix it?
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
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
