Skip to content
/ glitch Public

Interactively generate 8bit audio by running a sawtooth wave through an RPN calculator

License

Notifications You must be signed in to change notification settings

laindir/glitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

glitch

glitch is a text based program inspired by libglitch. It uses a forth-like language from stdin, operating on a ring-buffer and a sawtooth wave to produce 8-bit audio on stdout.

Usage

./glitch >/dev/dsp

Options

-a	Enable alternate opcodes

Tips

rlwrap ./glitch >/dev/dsp

Examples

{ echo '..4)&.4*.7)&|'; sleep 6; echo '..4)&.3*.7)&|1-'; sleep 4; } | ./glitch -a >/dev/dsp
{ echo '.9*.4)&.5*.7)&|.3*.400/&|1-'; sleep 20; } | ./glitch -a >/dev/dsp

About

Interactively generate 8bit audio by running a sawtooth wave through an RPN calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages