Forums > MaxMSP

switching to NonRealTime driver automatically

Jun 18 2009 | 5:32 am


I’m currently trying to build a patch that switches from a manually pre-selected real time driver (Built-in CoreAudio for instance) into the NRT driver when a certain condition is met. Then, when that condition is no longer true, it switches back again. I can’t however work out a straightforward way of doing this.

This is mainly due to the fact that adstatus uses a numeric index to select drivers, and this changes depending on the audio hardware Max detects. One idea I had was to let adstatus populate a menu/ubumenu with all available drivers, then query the menu in order to extract the number of items it contains. Is this possible?

It seems as though there should be an easy solution but I’m at my wits end with this one. Any suggestions would be fantastic.

Jun 18 2009 | 9:17 am

i think randy jones render node does this:


Jun 18 2009 | 10:31 pm

Yeah, render-node does exactly that! Thanks Oli!

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP