receiving a triggered clip's name

benniy's icon

hi there,

i'm trying to do something that should be quite simple but i cant figure it out:
receive a clip's name, as soon as it is triggered (= its playbutton is blinking).

can you help me out? i'd be gracious!

Nikolas K's icon

Hi Bennnzzz,
What are you using to load the clip? [buffer~], [sfplay~] ? If you could be a little bit more specific about what you are doing it would be easier to find a solution!
If you load the audio clip into a [buffer~ sampleName], you can use the [info~ sampleName] to get the name of the loaded audio clip.
Nikolas

Stephane Morisse's icon

I guess he wants to do that in Live. You should observe the 'is_triggered' property (have a look at the Live Object Model if you haven't done it already).

benniy's icon

thanks stephane and nikolas!
stephane is absolutely right :) .. and i've actually worked it out. i'm using the "fired_slot_index".

see attached a solution that does the following:
> read our a clip's name that is "fired" ("blinking") for only the track the device is played on
> assure that it all still works if your live-tracks are rearranged / reordered.

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

if you have any corrections or suggestions, i'd be gracious!