Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
music written in the C programming language
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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 -c 1 -e unsigned-integer -r 8000 -t u8 - -d --buffer 32 To generate a C program for any formula and play it immediately: ./play $FILENAME