unfold / fold a track in hightlight navigation and navigate into group
Hello
I use 2 buttons to navigate in the tracks, one button which increments to move to the right in the tracks and another button to move to the right in the tracks
The problem is that when I position myself on a track with folder groups, the track does not ungroup
I can’t navigate the group’s tracks
Is it possible that once I position myself on a track the track ungroups and that I can navigate inside from right to left?
Thank you in advance for your response
Greetings
Hi,
I took a stab at making a Reaction with the requested features (unfolding + selecting the rightmost track of the Group) + I also added in the feature of folding/closing the Group whenever you select a Track that is not a part of that Group. Here are the notes, the same that you find inside the Reaction:
1) When navigating through Tracks, this Reaction will unfold a Group Track that is currently selected + select the Last Track in that Group
2) The Reaction will also fold the last Group Track that was unfolded (through the use of this Reaction) when the current highlighted Track is not a part of that Group.
IMPORTANT
When you have a First Group Track that contains a Second Group Track, this might mess up the second feature of this Reaction.
That’s because the Reaction only saves the Track numbers of the last Unfolded Group Track.
So, if you were to open the Second Group Track, it will effectively erase the Track numbers of the First Group Track from its memory, meaning the First Group Track won’t be closed again by this Reaction (you’ll have to do it manually).
If you do have Group Tracks inside of other Group Tracks, let me know and I’ll figure out a way to keep track of all the folding and unfolding that’s happening.
I recreated your Increment/Decrement Mappings and think I now understand the difficulties you’re having.
When navigating through the Tracks, if you encounter a Folded Group Track, then you won’t be able to navigate further (e.g. when going Left and there’s a Folded Group Track to the left, you won’t be able to select that Group Track, or any other Tracks further to the left, while using the Highlight Navigation Mapping).
Then my guess is that you’ll need another way to navigate through the Tracks because the Highlight Navigation Mapping doesn’t go well together with Grouped Tracks.
Alternatively, I could alter my Reaction so that it checks if the Track on the left of the current Highlighted Track is a folded Group Track. If it is a Folded Group Track, then it unfolds that Track.
I think I’ll try making that alternative option first, so that you don’t have to change your increment/decrement Mappings.
Video Example
As for now, here’s a video of an example set I made in Ableton to test the Reaction and Mappings with:
- The first 2 Tracks in the set (purple) are individual Tracks
- then there are 3 Group Tracks (red, Blue, green) that each have 3 Tracks inside them;
- at the rightmost end there are another 2 individual Tracks (brown).
In the first 22 seconds, I show that clicking the Grouped Tracks unfolds them, and that clicking a Track that is not part of the group folds the last unfolded group Track again.
Starting from second 23, I use Highlight Navigation to navigate through the Tracks (like you would). When going to the right (incrementing) everything works as intended, meaning that when going from the Red Group to the Blue Group, the Red Group is folded again and the Blue Group unfolds.
It’s not really visible in the video but at 30 seconds the Highlight is in the unfolded Blue Group and when trying to go left (decrementing) to the folded Red Group, nothing happens, no matter how many times I press left.
My theory about why this happens is because the Mapping decrements 1 from the Highlighted Track’s position, but because this next Track is not visible (because it’s in a folded Group), the Highlighted Track doesn’t change. Meaning that, the next time the Mapping tries to decrement from the position of the current Highlighed Track, it will just do the same thing over again.
At 46 seconds in the video, you’ll see that when I navigate left from the unfolded Red Group to the Purple individual Track, it does work as intended, meaning that the Red Group folds back up again and the Purple Track gets selected.
it is very difficult to realize what you want to do in ableton with this kind of script unless you illustrate it well
Glad to see this was able to help you
Yes indeed I navigate left or right in the tracks using the Scroll function in Remotify
By incrementing or decrementing
So I don’t know it’s possible in the same way with a Highlighted track
Is a Highlighted track interpreted by the script or by Albeton as a Selected track? that’s a good question
By incrementing or decrementing
I do not directly select a track
A little update on the progress, here’s another video.
It’s almost ready but I have still a little kink to work out, but I’ve got to go to work in a couple of minutes so I’ll do it tomorrow.
I did have to create a new Reaction to go to the left (decrement) with because simply using the Highlight Navigation mapping always throws an error when you go left to an invisible track.
Hello again,
Here’s the new version of the script.
It contains 2 Reactions that replace the Highlight Navigation that you had set up.
Inside the Reaction you’ll still need to do 2 things in each of them, in order for them to work:
- Change the Listener to the button you want to use on your Controller.
- In Action Block 1, change the Condition to match your button. The Condition should be “Your button’s Velocity –> is equal to –> 0”. (see picture below)
- Action Block 1 is only necessary if you use buttons that send Momentary messages (in other words, if the button send different velocity values when pressing or releasing the button).
- If you use a button that sends Toggle messages, then you may delete Action Block 1.
- Action Block 1 makes Ableton exit the Reaction if you’re releasing a Momentary button.
Further Notes
- If you run into complications using these Reactions, give a comment about it.
- These Reactions don’t use Modifiers to store data in anymore.
- The unfolding/folding of Group Tracks won’t work anymore when selecting Tracks with the mouse.
- These Reactions don’t let you navigate through Return Tracks. When at the end of the Tracks list, it loops around to the first Track again, and vice versa.
Video Example
Here’s another video to see it at work.
There are now 4 Group Tracks in the video
- Red at the beginning
- Blue and Green in the middle
- Black at the end
Purple and Brown are still individual Tracks (not part of a Group)
When navigation loops around from beginning to end or vice versa, the Reactions will still unfold the Groups located at the beginning or end.
The Code
…for moving LEFT
…for moving RIGHT
Hello man
Nice Job Man
I was able to test these actions
This works for group tracks (midi or audio)
It’s really great because the group closes automatically when you go to the next track
or to the previous track, which prevents it from being a mess
However this does not work for drum rack kits
I note that the symbol is different
-a drum kit has a downward arrow
-a group has a symbol with 3 lines
There must be a difference in the script to differentiate a “track” and “drumkit”
and be able to manage both.
I didn’t account for Drum Racks, I’ll check it out.
I’ve been looking into this the last 2 days and it appears that tracks with a downward arrow (instead of the 3 lines symbol) to hide/show their contents with are not Group Tracks but are Rack Devices that contain Chains. They are handled differently:
The main Rack Device is being presented as a Track but all of its contents are not presented as separate Tracks, which means that navigation fails to recognize these contents as their own individual thing because the way navigation is set up at the moment is to navigate through the list of Tracks.
I’ll need to experiment with this for a bit before I’ll be able to present something useful. I’ll probably have something somewhere along the week.
Sign up
User registration is currently not allowed.
Hi Thanks for your help
I was able to test this reaction
But nothing happens when I am highlighted (highlighted track) on a track
I always navigate on the track folded or unfolder
I was also able to check that I had all the actions and commands that you shared with me in my script
The script is well recognized by ableton adding the reaction
I updated my question with an illustration of what exactly I want to do
Greetings