News for hackers. Stuff that matters.
Re:Algorithmic symphonies from one line of code by Ogre on Sunday October 02, 2011 @05:33PM (#3064101)
Ok, looks like xiph.org was just having a hiccup. You can do it real time with sox.

First, Get sox. I prefer homebrew for Unix type stuff (http://mxcl.github.com/homebrew/), but it's likely MacPorts, Fink, and other sources have sox available too. If using Homebrew, just:

  $ brew install sox
Compile your program. Run it like this:

  $ ./soundprog | sox -r 8000 -t u8 - -d
Voila, just like having a sound device. You can play with the 8000 to make it faster or slower (modifying the pitch as well).

There are no comments on this comment yet.