M4L Javascript "Get all devices" with callback:- Code check please!
Hi there,
I've been learning javascript so I can get a list of all the devices in live through each track and through each of the first chains in a rack. I've looked at examples on the forum and it's taken me a while to get to where I am now but a few pointers would be great!
I seem to be getting quite a few errors with "pushcontextframe/popcontextframe".
Thanks in advance!
Chris G
I asked the same question here with no answer so far:
https://cycling74.com/forums/method-popcontextframe-called-on-invalid-object/
Doesn't seem to do any harm but pollutes the Max window.
More info here:
Apparently youre not supposed to use a liveapi constructor inside a callback function...