NickDomingoMusic this is the best I can do with arming it in mute mode as of now.
Once in mute mode, you can
- toggle mute on/off on every tracks.
- once stop is press, output is set to 0 to mimic a stop.
- you can then toggle mute on tracks and bring it back with the play pedal through restart and output = 127.
Library:
#library
init{
InstallUIElement("MuteModeLabel","mutemode" :Text :text "Mute Mode" :width 80 :onColor :white :offColor :gray)
}
export variable mutemode
export variable activetrack
Rec/OD/Play:
#name Record/Play
in 1,2,3,4 {
if (mutemode equals 1) {
Restart
output = 127
}
else if (mode == :Reset && activetrack > 0) {
Record
}
else if (mode == :Record && activetrack > 0) {
Overdub
}
else if (mode == :Overdub && activetrack > 0) {
Play
}
else if (mode == :Play && activetrack > 0) {
Overdub
}
}
Mute Mode Toggle:
#name Mode
if mutemode equals 0 && mode==:Play{
mutemode = 1
}
else
{
mutemode = 0
}
Stop:
#name StopAll
in 1,2,3,4 {
output = 0
}
Tracks:
#name Track 1
if (mutemode equals 1) {
in 1 Mute
}
else {
in 1 {
input = 127
SelectTrack(1)
}
in 2,3,4 input = 0
activetrack = 1
}
I didn't use stop cause there wasn't a visual feedback to know which track is mute/unmute because it doesn't show the mute. And I know little about the UI script to even try.