diff --git a/VB.ahk b/VB.ahk index bc597fb..0ecb5b2 100644 --- a/VB.ahk +++ b/VB.ahk @@ -99,6 +99,9 @@ midiCCin: Lvl := fader_to_fader(val) adjustVolLvl("Bus[2].Gain", Lvl) Return + Case 2, 4: + adjustToggle("Bus[2].Mute", val) + Return Case 3: adjustToggle("Bus[2].Mute", val) Return @@ -134,6 +137,16 @@ midiCCin: Lvl := fader_to_fader(val) adjustVolLvl("Bus[3].Gain", Lvl) Return + Case 2, 4: ; Priority Speaker in Discord (whatever that does), also PTT + if !(val){ + cSendMute := Round(readParam("Bus[3].Mute")) + adjustToggle("Bus[3].Mute", False) + Send, {F23 down} + } else { + Send, {F23 up} + adjustToggle("Bus[3].Mute", cSendMute) + } + Return Case 3: adjustToggle("Bus[3].Mute", val) Return