Forums > Max For Live

receiving a triggered clip's name

Jun 16 2014 | 8:29 am

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!

  • This topic was modified 2 years by  benniy.
Jun 17 2014 | 1:37 am

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.

Jun 21 2014 | 1:49 pm

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).

Jun 22 2014 | 10:34 am

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.

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

-- Pasted Max Patch, click to expand. --

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

Forums > Max For Live