trying to add soundboard stuff
This commit is contained in:
parent
d1ec2fed49
commit
551afbc885
10
VB.ahk
10
VB.ahk
@ -204,6 +204,9 @@ midiCCin:
|
|||||||
Case 3:
|
Case 3:
|
||||||
adjustToggle("Bus[1].Mute", val)
|
adjustToggle("Bus[1].Mute", val)
|
||||||
Return
|
Return
|
||||||
|
Case 4: ; Mute mic input
|
||||||
|
adjustToggle("Strip[1].Mute", val)
|
||||||
|
Return
|
||||||
Default:
|
Default:
|
||||||
Return
|
Return
|
||||||
}
|
}
|
||||||
@ -248,6 +251,10 @@ midiCCin:
|
|||||||
Case 3: ; Media Play/Pause
|
Case 3: ; Media Play/Pause
|
||||||
Send, {Media_Play_Pause}
|
Send, {Media_Play_Pause}
|
||||||
Return
|
Return
|
||||||
|
Case 4: ; Set button / death sound
|
||||||
|
Random, temp, 1, 4
|
||||||
|
adjustString("Recorder.Load", "D:\Combine\metropolice\die" . temp . ".wav")
|
||||||
|
Return
|
||||||
Case 7: ; Rewind
|
Case 7: ; Rewind
|
||||||
if (val)
|
if (val)
|
||||||
{
|
{
|
||||||
@ -394,7 +401,8 @@ adjustToggle(func, togg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
adjustString(func, str) {
|
adjustString(func, str) {
|
||||||
DllCall(VMR_FUNCTIONS["SetParameterFloat"], "AStr", func, "Float", str, "Str")
|
MsgBox % str
|
||||||
|
DllCall(VMR_FUNCTIONS["SetParameterFloat"], "AStr", func, "AStr", str, "Str")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user