An easy way to get nonempty clipnames or count from a track?
Hi
Is there an easy way to get nonempty clipnames or count from a track? Searched and couldn't find any straightforward method.
stonerich
Not easy, but here is a way to get the clip names from a track (where the device is loaded).
What do you mean by straightforward?
Iterate over the clip slots in a track, check to see if the name is 'None', if it is not, add the name to a list, and add to a count(er).
Here's the iteration and checks. It will print to the max window any clip that is named in the track.
EDIT: Broc's is so much better than mine. Use his. I need to remember zl.iter....
Hi and thanks!
One could think that there would be a ready-made function or patch for this kind of elementary task ...
I will study Broc's solution. Here's my humble effort (it also counts the slots):