I'm interested in creating musical programs like these: http://www.youtube.com/watch?v=GtQdIYUtAHg&feature=player_embeddedEssentially these programs just generate sequences of integers, which (apparently), when fed directly into a 8khz audio stream (like /dev/audio), produce interesting music. My problem is that my system does not have /dev/audio. In fact, looking through my /dev, it's unclear to me whether any of the devices is a direct audio interface. I have two questions:Is there a nice package which will let me pipe in a stream of numbers from the command line, and produce a matching 8Khz audio output?If not, how might I go about directly accessing my audio device?
How can I create a direct 8khz audio pipe in Ubuntu?
audio;devices
This worked out fine for me: ./a.out | aplay