Forums > Max For Live

Clip Playing Status

February 5, 2013 | 5:44 pm

I’ve been building this patcher to send OSC messages to my iPad, running lemur.
The whole system here does work. BUT, i’m gonna need to expand this over several tracks and lots of clips.
The way I’ve built it now isn’t very intuitive, I’d have create a big chunk of extra code for each clip.
A wise man on these forums once told me that if I have to do that, then theres probably another simpler, prettier way. Only problem is, I CAN’T WORK OUT WHAT THAT IS?!?!

Can any of you guys give me a hand taking a look at this? All I really want to know is what clip is actually playing, not the status of every single clip in my grid…

Patcher attached, and thanks in advance for any help/ advice.

WIlbur

– Pasted Max Patch, click to expand. –

February 5, 2013 | 7:05 pm

> All I really want to know is what clip is actually playing…

So you can simply observe the track property ‘playing_slot_index’.

– Pasted Max Patch, click to expand. –

February 5, 2013 | 7:32 pm

Very good sir, very elegant. I like this a lot.

I wish i knew that track property existed before!

Thanks for your help. I really appreciate it.


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