Re:Generate raw WAV output by hooking malloc and read
by ibisum on Tuesday July 29, 2014 @07:29AM
(#8101660)
I'm reminded of some of my favourite C 1-liners for synthesis:
main(t){
for(t=0;;t++)
putchar(t*(((t>>12)|(t>>8))&(63&(t>>4))));
//putchar(t>>7|t%45)&(t>>8|t%35)&(t>>11|t%20); // try this too!
}
.. there's a whole world of 1-liners for synthesis out there, and some of them, frankly, are astounding. Sound is such a beautiful way to understand math ..
Re:Generate raw WAV output by hooking malloc and read
by akx on Tuesday July 29, 2014 @09:18AM
(#8102027)
These are called bytebeat nowadays.
See viznut's (seminal) intro to the genre.
http://countercomplex.blogspot.fi/2011/10/algorithmic-sympho...
It was like demos; I would be stunned at the emergent complexity and compactness, and it would only elicit shrugs from friends.