Selected Track = mute others: Reactions 2?
Hi there,
as I’m looking forward to the reactions2 trials, I’m wondering if it would be possible to use reactions to program something like “mute other tracks” when being in selected tracks “mode” (not that there’s a mode)?
If this isn’t clear and I need to formulate this question better, please let me know 🙂
Hi Annette,
Yes you can 100% do this with Reactions 2. It will be possible using a combination of the new Modifiers and Custom List features.
Beta testing is about to go live (in the next 1 – 2 days), I think you have already added your name to the roll call, so expect an email with details very soon.
Go with
1. listener is button was pressed
2. condition is latest velocity is LESS than 1 (not <=) (this way it happens after you let the button go and it doesn't keep running while you're holding it)
3. Loop – through tracks
4. CONDITION (before action within loop) track is NOT current track
4. mute track
Actually – I watched some of that video you watched, and in fact it goes into detail specifically about using a track loop, AND muting each tracks. So he’s given you all the details except to add a condition that the iteration is not the selected track.
ALSO the less than 1 condition I included is not necessary if your button is a BUTTON on off variety. It IS necessary if it’s a note or something similar that KEEPS outputting something (or aftertouch) after you press it.if it simply goes on when you press it then you won’t need that (he didn’t with the Midi Twist fighter). If you have problems that seem like it’s repeat-firing you can add that less than one condition.
By the way, you won’t need ANY of the modifier or custom list stuff- just a condition that checks if the SELECTED track is the ITERATED track.
OK.
Nice work. Glad you went that far!
Condition:
(I summarized before)
“Track is not current track” looks like the attached, i.e not part of the selection
self.song().tracks[loop_number].is_part_of_selection == False
and then muting it is (notice ‘[loop_number}] above) just setting mute to true.
self.song().tracks[loop_number].mute = True
I think you can do it with JUST those two items in the reaction (and the listener, which is the button you want to press) which would be super elegant.
I’ve set it up and made you a screenshot, but I haven’t tested this – it’s not functionality I need.
Notice that
1. the code tells you everything – that’s python (i copied it above) and you can see the actual action you’re performing right there. you’ll know you’re on track.
2. click that finger to the left of the action/condition/loop (when you are working with ‘track’) to select what track. If you are looping, you pretty much always want to choose “loop-iteration number”
LET me (us) know if you were successful, i.e got what you wanted.
Sign up
User registration is currently not allowed.