Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Image Added



It’s possible to output sound over multiple audio channels from Processing using a usb Audio Interfaces like the Gigaport HD+ or AG. The initial installation is a little fiddly, however once you have your system setup in will run perfectly every time. 

...

It’s not possible for Processing to simply send multiple audio channels to the one device, so we are going to setup OSX to treat the Audio Interface as if it where multiple stereo devices. Then we will be able to send stereo audio to each of these virtual devices in Processing. 

Steps

  1. Connect the device by USB cable to your computer, and then open the “Audio MIDI Setup” Utility in OSX.   

  2. Click the “add” icon in the lower left corner and select “Aggregate Device”. 
    Image Added
  3. In the options screen tick “Use” next to the USB Audio Interface. Right click the Device and select “Configure Speakers”. Here you are going to assign channels 1 to “left" and 2 to “right”. 
    Image Added
  4. Repeat the above steps, until you have enough channels for your project.

    Image Added

Processing

Install minim library and try out the following example code:

...