Forums > Max For Live

I need to send the Clip Name when the clip is playing.

May 6, 2011 | 11:56 am

Hi I need some help:
http://bb-attachments.cycling74.com.s3.amazonaws.com/829.max4live.JPG
In this pic I see that you can have the clip name giving a "get name" message into the live.observer.
In my max window live.observer doesn't understand the "get name" message.

[attachment=161499,2209]

Attachments:
  1. Picture1.png

May 6, 2011 | 2:31 pm

Observer is the wrong object to use for get, you either want property name or change the live.observer to a live.object

Cheers
D


May 7, 2011 | 10:44 am

Thx for the answer but in the link live.observer it’s working with "get name". Whatever live.object is not working: "live.object: get: no valid object set".
And "property name" message in live.observer doesn’t cause any output.


May 7, 2011 | 5:03 pm

S4racen is right (almost always I think). Change the observer message to "property name". I built this and it works, minus the track selector.

Your max window should have been displaying "doesn’t understand ‘get’" messages in your version, and if it is not, something is going wrong before that point.

Which, I suspect, might be taking place where the path is being set for the first observer. Can you confirm that it is receiving a proper id? Monitor the "path live_set tracks 0 clip_slots $1 clip" message output and confirm that it’s sending out a proper message.

Actually, looking at that part of your patch, I’m a little confused. You have the track identified by a static index in that message box (i.e. it’s "tracks 0" and not "tracks $2"). So if you know this device is serving track 0, then why all the mumbo-jumbo with that observer above it? Why not just feed it a "path live_set tracks 0" message?


May 7, 2011 | 9:39 pm

I think that’s your other problem, is it not? You’re checking the playing slot index of "this track" but checking the name of the same index on "track 0"?


May 10, 2011 | 3:38 pm

You’re right. I was trying just with one track but this problem exist. How can i know the number of the track where my device is placed?
thx for your answers.


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