Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 638 Bytes
This is a collection of minimal programs for sound synthesis, written in C. They are using techniques explained in <http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html> and the followup discussions at <http://news.ycombinator.com/item?id=3063359> and <http://www.reddit.com/r/programming/comments/kyj77/algorithmic_symphonies_from_one_line_of_code_how/
>.
To compile the demo program and listen to its output, do:
g++ ./munching-squares.c -o munching-squares
./munching-squares | sox -r 8000 -U -t u8 - -d
To generate a C program for any formula and play it immediately:
./play $FILENAME
Jump to Line
Something went wrong with that request. Please try again.