Forums > Max For Live

How to observe if ANY clip is launched and get it's name

September 12, 2013 | 8:22 am

Hi There,

Trying to build a patch to communicate with VDMX. I need to able to observe if ANY clip in the set is launched, and when it is to get it’s name to send over OSC.

I understand getting the name will be quite easy but I don’t really understand how to observe the whole set to react when any clip is launched.

Any ideas? A guy called MYR built something that looks ideal but downloads have expired and can’t get hold of him!

J/


September 12, 2013 | 3:37 pm

Hey Jakeone,

Unfortunately I cant help with your situation directly. I was just browsing the forum and stumbled on your problem. Weirdly enough I think I know myr personally, if it is in fact the same man. Here’s a form of contact (I hope he doesn’t mind…) #jamesmyr(Twitter)

Hope this helps.

J.


September 12, 2013 | 3:41 pm

thanks – will give him a try! j/


September 12, 2013 | 3:48 pm

actually just managed to download ‘m4lc hub’ from the monome site.. it may still not do what i want as it doesn’t continually monitor for launched clips.. hmmm


September 12, 2013 | 4:01 pm

I’d be interested if you find or develop a solution for this – could be very useful!


September 12, 2013 | 4:03 pm

There is a way to do this and I’ve done, though I don’t have the patch here. Each channel to be observed had an M4L device which reported the name of a clip when launched. I’ll see if I can find it.


September 12, 2013 | 4:10 pm

We have something called Livegrabber (which contains a device called Trackgrabber) that does this on a given track. I would like something that does it for the whole set. But can’t understand how Trackgrabber is doing it to modify !

http://showsync.info/index.php/tools/livegrabber/


September 12, 2013 | 4:18 pm

I remembered how to do it. Try this:

<code>

– Pasted Max Patch, click to expand. –

</code>


September 12, 2013 | 4:23 pm

I think the only way to do this is to individually query the channels as in the patch above. I’m not aware of any way to globally keep track of launched clip slots / names, someone correct me if I’m wrong here. If you need to keep track of more channels, just replicate that chunk of code for as many channels as you have (this can all be in a single M4L device), enumerate the "tracks X" parameter for each channel, then tie all the outputs into a single message box to see the last clip triggered.


September 12, 2013 | 4:30 pm

thanks a lot misho. this sounds possible… but i guess would have to create something that constantly bangs to constantly query to look for clips as they are triggered?


September 12, 2013 | 4:36 pm

oh no my bad it constantly monitors, sorry


September 12, 2013 | 4:37 pm

thanks for that – think it’ll work!!


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