News for hackers. Stuff that matters.
Re:Generate raw WAV output by hooking malloc and read by pronoiac on Tuesday July 29, 2014 @02:55AM (#8101009)
It sounds like when I piped /dev/random to a midi device. (Or was it /dev/urandom and TiMidity++?)

It was like demos; I would be stunned at the emergent complexity and compactness, and it would only elicit shrugs from friends.

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...

https://www.youtube.com/watch?v=GtQdIYUtAHg

Re:Generate raw WAV output by hooking malloc and read by ibisum on Thursday July 31, 2014 @05:10AM (#8113135)
Thanks for the update - bytebeat sounds like something thats a lot more searchable than 'c one-liners that generate sound' .. ;)

Great stuff, eh?