Clip Playing Status

wilburmarshall's icon

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.

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

WIlbur

broc's icon

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

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

So you can simply observe the track property 'playing_slot_index'.

wilburmarshall's icon

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.