diff --git a/VB.ahk b/VB.ahk index 213d429..35d8548 100644 --- a/VB.ahk +++ b/VB.ahk @@ -241,7 +241,7 @@ fader_to_fader(val) ; Translates MIDI fader values to the VoiceMeeter software f { ; The upper limit for faders in VM is 12.0 ; The lower limit for the faders in VM that I would like is -40.0, how low it should go when the physical fader is all the way at the bottom - nval := Round(((val / 127) * 52) - 40) + nval := Round(((val / 127) * 72) - 60) Return nval } ; Formula: ((value / max value) * total range) - negative part of range @@ -341,3 +341,4 @@ die(die_string:="UNSPECIFIED FATAL ERROR.", exit_status:=254) { MsgBox 16, FATAL ERROR, %die_string% ExitApp exit_status } +