We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSound,  Music Libraries › multiple audio inputs
Page Index Toggle Pages: 1
multiple audio inputs (Read 2534 times)
multiple audio inputs
Jan 30th, 2010, 2:09pm
 
I'd like to get Processing to handle multiple audio inputs separately. For instance, using SoundFlower I can tell Ableton Live to send 4+ different stereo signals simultaneously.

However, Processing libraries like Minim or Sonia seem only to be able to listen to the master system audio input. There are ways (i.e. JackPilot) to trick them into recording input from another source, but afaik these only work for one source at a time.

I suppose one hack would be to send one signal on the left channel and one signal on the right channel. But it seems like there ought to be a better way.

Ideas, anyone?  

=T=
Re: multiple audio inputs
Reply #1 - Feb 3rd, 2010, 9:52pm
 
I have been trying to find a solution for a very similar situation.  

(replied so I get updates about any suggestions/answers)
Re: multiple audio inputs
Reply #2 - Feb 4th, 2010, 12:41pm
 
hello,
minim has setOutputMixer and setInputMixer functions. You can set input to "Soundflower 2ch" for you sketch, for instance.
Check minim docs. Examples here:
http://code.compartmental.net/minim/examples/Minim/setInputMixer/
http://code.compartmental.net/minim/examples/Minim/setOutputMixer/
Re: multiple audio inputs
Reply #3 - Feb 6th, 2010, 6:41pm
 
I'm Also looking for information regarding the topic but as of yet am quite new and am having troubles understanding all of the technical things, i guess i'll have to learn a little bit more to better understand
Re: multiple audio inputs
Reply #4 - Feb 9th, 2010, 11:25am
 
Thanks for the information.  I've been searching multiple processing forums for my answer.  Although I'm not a technical guru I'm sure that I can figure it out.  Thanks again.
Re: multiple audio inputs
Reply #5 - May 6th, 2010, 3:39am
 
Addison Clark wrote on Feb 9th, 2010, 11:25am:
Thanks for the information.  I've been searching multiple processing forums for my answer.  Although I'm not a technical guru I'm sure that I can figure it out.  Thanks again.


did you find a way two get the tracks seperately with this method Like each track as seperate input I am trying the same thing with my m-audio pro sound card, but don't know if the input get mixed up at the end...
Page Index Toggle Pages: 1