The trick is finding ways to get interesting patterns out of the speakers. One way to do this is to write simple programs: int n=0, i=1; for(;;) { cout << char(n+=i); if (n>255 || i<=0) {i++; n = n % 255;} } However your best bet is to try to find something large with a repetitive structure but varying information-- large data files for example. And the two best examples of this, if you ask me, would be cat /dev/hda1 > /dev/audio (or your equivalent) or cat /proc/kcore > /dev/audio. Core is more.. well, hardcore, but catting your hard drive into /dev/audio is uncontestedly the best. You get weird, vaguely looping noise, shifting, completely unpredictable, infinitely varied but usually with a constant feel to it. Plus if there are any sound files on your drive saved in a lossless format they just play at random and then disappear back into the soup. Someday i'm going to tape 45 minutes worth of my linuxppc partition, then drive down to the local college radio station during the ambient show and ask them to play it. I doubt they'd be disappointed. > /dev/audio music can be surprisingly good, and the quality levels of hard drives tend to approach that of coil.
int n=0, i=1; for(;;) { cout << char(n+=i); if (n>255 || i<=0) {i++; n = n % 255;} }
If this particularly interests you, you may download a sampling of crud i have created (mostly with this method) at http://charon.sjs.org/~mcc/awk
mcc's mention of catting your hard drive to /dev/audio has made me notice a peculiar thing; different filesystems sound noticeably different. Specifically:
These measurements were made under Linux 2.4, with the ALSA sound drivers version 0.9.0beta6, and a SoundBlaster Live! sound card.
Data :ADRGESHTFDZDRSRGSEWERT00000000000000000000 Waveform :/\/\/\\\\///\/\/\/\/\_____________________
Data :FF00F000FF00FFF0FF00FFF0F000FF00 Waveform :MM__M___MM__MWM_MM__MWM_M___MM__
printable version chaos
Everything2 Help
cooled by Sylvar