Autoswitch Between Soundcard and Internal Speakers?

Jul 11, 2013 at 2:44am

Autoswitch Between Soundcard and Internal Speakers?

Is there a way to switch automatically within Max between an external soundcard and the computers internal speakers?

So, as an example, the default is for a self generating patch to play over internal speakers but then when receiving a random bang, switches to outputting to an external soundcard (hooked up to larger speakers or a PA system).

#255623
Jul 11, 2013 at 4:30am

The adstatus object interfaces to the audio driver. On OSX it is possible to combine several hardware outputs in one aggregate device, which would be a more solid approach.

#255632
Jul 11, 2013 at 4:39am

Thanks for that. I’m not too clear on using multiple outputs in an aggregate. Once I’ve got the outputs setup, is it easy to switch using the adstatus object?

#255633
Jul 11, 2013 at 4:50am

I think the idea is to set up a multi-channel aggregate where (for instance) channels 1 & 2 are mapped to your internal speakers, and 3 & 4 to your audio interface. Then just use your favorite way to route audio to any of the four outputs.

#255636
Jul 11, 2013 at 4:58am

Thanks, I get that part… I’m not sure how you then tell adstatus to switch between the two options?

#255638
Jul 11, 2013 at 5:12am

YOu don’t have to tell adstatus to do anything. You set it once manually to the aggregate device and then route to the multiple outputs.

#255640
Jul 11, 2013 at 5:15am

Ahhh, I see what you mean. Thanks!

#255641

You must be logged in to reply to this topic.