Controlling device parameters in Max for Live

Venetian's icon

Hi,

I'm experiencing a bug trying to control audio effect parameters - e.g. feedback, delay - of a Live instrument from within MaxForLive. When Max is open it works fine, but I can't get the same list to appear when the patch is loaded in Live without the Max editor. The device "id 9" is now sent blank - just "id ". Any ideas what could be wrong or example patches?

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks,
Andrew

Venetian's icon

to update: the root of the problem is that while the list of devices is sent as "id 18 id 19 id 20 id 21", the [zl delace] object keeps spaces in this when running in Live giving " [space] [space] [space] 18 19 20 21", (this means that here the 2nd element of the list is a space),

whereas in Max mode it produces the correct result "18 19 20" and the 2nd element is 19.

by changing the Max.api.SelectDevice patch I have made a run-around, but why would these spaces be added?