Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
l2
 
 
l3
 
 
l4
 
 
l5
 
 
l6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
r10
 
 
r11
 
 
r12
 
 
r7
 
 
r8
 
 
r9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

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

About

music written in the C programming language

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.