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).
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.
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?
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.
Thanks, I get that part... I'm not sure how you then tell adstatus to switch between the two options?
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.
Ahhh, I see what you mean. Thanks!