Here's an example code of how playing soundfiles on certain channels on your soundDevice.

In this case i worked on osx 10.6 and used the soundcard MAYA44 USB.
I import JSyn library into the environment, so I will be able to interact with microcontroller easily.

Some things you need to do:
- get the JSyn library and put it in the right place
- I needed to do some JAVA-Adjustments to make it work. I use JAVA SE 6 / 32-Bit
- maybe you need to Audio-MIDI setup

The code is not that cleaned out and dynamic as it could be, but it works for a start.

Here's the proccesingPackage

 Permalink twisting values since 1994