1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Sound Synthesis in Nodebox (kinda)

Posted by Chris on Feb 14, 2008

I've rigged it so Nodebox will pass data via a socket to a PySndObj app running in terminal. I'm using the graph library to map social network stuff and then passing node eigenvalues to the PySndObj app to do the synthesis. It's pretty stable so far, and PySndObj uses CoreAudio for input and output ( no midi at the moment, however). I haven't tried sending streams back to Nodebox - maybe a future experiment.

If anyone is interested, this is what I did:
1. Install scons with macports
2.Install SndObj with the pythonmodule
3.Run a PySndObj app using the socket module from terminal listening on a particular port
4.Run a nodebox app sending UDP data to that same port

I'm a neophite to SndObj, but if anyone is more familiar with it's inner workings, I'm all for collaborating.


 
Posted by andrea valle on Feb 21, 2008

Hi,
it's interesting. Just a note. If you use the OSC.py bridge for sending OSC messages via Python, you can easily (I guess) connect NB to e.g. SuperCollider, PureData, Max/MSP etc.
I had controlled SuperCollider from Python, so shouldn't be complicated.

Best

-a-