Filter get cue_points results

rivers cuomo's icon

Does anyone know how to filter my results here?
https://maxforlive.com/library/device/8295/exportlocatorids

I don't want my plugin to export the AUTOSTOP locators.

Trevor being Trevor's icon

I have not used zl a ton, but it seems like the right object to use. I would try "zl filter AUTOSTOP". In general, my advice would be you need something that allows you identify the string "AUTOSTOP" and either ignore that data or control gate that stops it from passing.

rivers cuomo's icon

Thank you. "zl filter AUTOSTOP" inserted at various points does filter out the string. But I haven't figured out how to filter out cue_points that happen to have that name. So all the cue_points with an 'AUTOSTOP' name go on through with the name of the last cue_point that wasn't 'AUTOSTOP'.
In any case, our Broadway run got cancelled yesterday so I no longer have a pressing need to solve this.

Trevor being Trevor's icon

If they are locators named AUTOSTOP I am not sure that you can stop them from entering your code, but you can definitely filter them out. I added a zl compare and a gate to filter out the AUTOSTOP before they hit the text file and it worked for me.

Trevor being Trevor's icon

I am also curious how you are using those AUTOSTOPs and how they work. Generally I use the technique above to automatically stop. You need to be able to route midi back into ableton to use it, but it works great for me. Mac has something for that called IAC driver under the Audio/Midi thing. For windows there are tools available online. If you are interested in this and want more detail let me know. Otherwise, hope that helps and that's a huge bummer that your show got canceled!

rivers cuomo's icon

Are the green-circled objects 'messages'?
Is the red one a 'gate'? I'm not sure where to find that. I'm a newb at Max For Live.

Trevor being Trevor's icon

Yes the red is a gate. Type "ggate" into an empty object box (double click in blank area). The green are messages just to test that gate is working as desired by clicking on them manually.

rivers cuomo's icon

All those AUTSTOPs were inserted by our Music Director, Max Bernstein. My understanding is that they're used by the SETLIST plugin, which I assumed was the industry standard for performing artists nowadays.

Hmm...but I do notice that ableton stops at the AUTOSTOPs even if I have the plugin disabled.

Anyway, a little more background: I built the exportLocatorIds patch so that I could have a big database of all our locator names and ids. Then I can programmatically create a text file for each show with the names and ids of any show's songs to import into the Setlist App. (It beats manually selecting each song from the FULL LIST column and adding to the SET LIST column, especially when I'm moving back and forth through totally different setlists as I was doing for our 5 night Broadway run.) The AUTOSTOPs are not useful in the exported text file of all IDs or the show-specific text file that import.

rivers cuomo's icon

The 'zl compare' with the 'ggate' works great. Thank you!