adstatus to select specific output device at boot
Hello dear community,
For an installation I'm working that has to run by itself on I would like to built-in the following functionality in my patch at boot, I would like to use the adstatus (or other recommended object?) to poll if the RME Digiface is listed as possible output device, if the equation is true this device should be forced to be selected as output and after this procedure turn on the DSP by itself.
I know Max will automatically initiate the last selected output device at boot which should already cover this, but I would just like to built-in this additional fail-safe system on top of that.
I think the solution lies somewhere in a good combination between the adstatus driver and adstatus option object but I can not completely work it out, any suggestions would be welcome!
Kind regards,
Robin
Here's an example of an auto select setup-- this version is for an Audiofire 12--you can change the device name in the zl compare object.
you may need to delay starting audio after boot to let the os find the audio device--attached patch goes in your start up items with file names for your installation patches.
Dear Antialias (clever alias!)
Thanks for sharing your example! really helpful, great solution and nifty work-around combining the zl sorting with a variable uzi based on list of devices.
Best,
Robin
hey robin-- glad it helped. both patches were gleaned from this forum-- credits:
trond lossius for the open_me delay patch
https://cycling74.com/forums/mxj-net-maxhole-problem-in-standalone-osx/
jsr_ for the adstatus chooser
https://cycling74.com/forums/how-to-set-sound-output-to-specific-sound-card
cheers ian
Just wanted to say thanks for sharing! V helpful.