Making the jump from writing basic RAW soundfiles to realtime audio is often a big leap for the newbies to take. Usually it involves the introduction of an external audio lib which often takes some time to get set up. As I use the Csound API for a lot of my projects I thought it would be nice to keep using it so I wrote a simple C program(see attached, rename the file extension from .txt to .c) that lets one use Csound as a realtime audio IO wrapper so to speak. It basically writes a simple csd file to disk which use the chani/chano opcodes to send audio to the host and back again.
I posted these examples to the Csound list yesterday and some folk suggested I post them here too. It's just a really simple Processing applet that controls an instance of Csound through OSC commands. There are more complex ways of getting Csound to speak with Processing and vice versa, in particular see Jim Haeron's article http://www.csounds.com/journal/issue11/Processing.html. If anyone has any questions please free to leave comments. Likewise if anyone makes any improvements please post updates.
Miller Puckette mentioned during his keynote at this years Linux Audio Conference that he didn't care much for so-called 'live' computer music where the performer plays only a very small part in the overall piece. I thought it would be fun to write something that only records a second or so of live input from the performer and then goes to town with it. The attached instrument couldn't be much simpler, two comb filters and the option of an allpass if needed. Be forewarned that it's a glitch instrument of sorts so expect plenty of raw sounds.