Using multiple sound cards simultaneously...

Zach's icon

Hey, all, long-time Max/MSP user (first-time poster) with a bit of a conundrum.

I am trying to mix the audio from my computer's onboard sound card with that from / to a Bluetooth headset. I previously created such a patch using Pure Data, but I cannot figure out how to do it in Max/MSP! In the DSP Status, I can select either the sound card or the headset, but it will not let me use both. In Pure Data, I was able to specify multiple audio sources, and each channel was mapped to an ADC / DAC channel.

Any ideas on what to do?

Any help would be most appreciated!

All the best,

Dan Nigrin's icon

You might have to use Jack for this:

If on a Mac, you might also be able to do some of what you want using
an Aggregate Device:

Dan

At 3:33 PM -0500 8/6/08, Zach Toups wrote:
>Hey, all, long-time Max/MSP user (first-time poster) with a bit of a
>conundrum.
>
>I am trying to mix the audio from my computer's onboard sound card
>with that from / to a Bluetooth headset. I previously created such a
>patch using Pure Data, but I cannot figure out how to do it in
>Max/MSP! In the DSP Status, I can select either the sound card or
>the headset, but it will not let me use both. In Pure Data, I was
>able to specify multiple audio sources, and each channel was mapped
>to an ADC / DAC channel.
>
>Any ideas on what to do?
>
>Any help would be most appreciated!
>
>All the best,
>--
>-Zach

--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com

Zach's icon

I'm actually trying to get JACK working...but so far no luck. The machines I have are windows... :/

Dan Nigrin's icon

So I presume you're using the software here, right?

If you have specific questions, you can try sending them to Stephane
Letz, the author of the PC port of Jack (and a lot of the Mac port as
well). He's usually very helpful (although very busy too).

Dan

At 3:55 PM -0500 8/6/08, Zach Toups wrote:
>I'm actually trying to get JACK working...but so far no luck. The
>machines I have are windows... :/
>--
>-Zach
>

--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com

Zach's icon

I haven't had much luck getting Jack to work so far...

Also tried Virtual Audio Cable + Audio Repeater...but the buffers don't seem to be able to keep up.

Is there really no way to do this in Max/MSP?? I mean, the freeware puredata (http://puredata.info) already supports multiple sound sources / sinks! :-/

Arvid Tomayko's icon

I wouldn't spend too much time with jack on this - if jack on windows is the same as on mac, it doesn't support multiple audio devices - just one device on who's clock audio can be routed between applications.

The problem with multiple audio devices, as always, is clock synchronization. Without it, two digital audio devices will never work right together without elaborate jitter (not as in jit.matrix) compensation code. Aggregate devices in OS X does this. I don't know where to look to achieve this on windows.