A relatively simple Autohotkey script binding mouse keys to do Voicemeeter Potato commands. This script primarily uses the mouse side buttons to control Voicemeeter (And also some other things). These sidebuttons are normally used to go "Forward" or "Backward" on a page, these actions still work (Seen on the example picture).
Loads a "default.xml" file on start and reset. Create one with the save feature of Voicemeeter and place it in the same folder.
If you run the program as Admin it also automatically sets the affinity of "audiodg.exe" to only one core to fix the crackling noises that can occur in VoiceMeeter. Otherwise, elevation is not needed.
Macro | Action |
---|---|
Backward+WheelUp | VAIO Volume increase by 0.5 |
Backward+WheelDown | VAIO Volume decrease by 0.5 |
Forward+WheelUp | AUX Volume increase by 0.5 |
Forward+WheelDown | AUX Volume decrease by 0.5 |
Backward+Forward+WheelUp | VAIO3 Volume increase by 0.5 |
Backward+Forward+WheelDown | VAIO3 Volume decrease by 0.5 |
Forward+LButton | Media_Prev |
Forward+RButton | Media_Next |
Forward+MButton | Media_Play_Pause |
F24 (bound to mouse) | Load profile1.xml |
double F24 | Load profile2.xml |
Forward+F24 | AUX Mute |
Backward+F24 | VAIO Mute |
Backward+Forward+F24 | VAIO3 Mute |
Ctrl+Shift+R | Restart Audio Engine |
double Ctrl+Shift+R | Load default.xml |
Ctrl+Alt+F4 | Force close Active window (Something like SuperF4) |
Releasing Backward/Forward without triggering any of the above macros will just send Backward/Forward again
Basically all of the communication with Voicemeeter happens in the Voicemeeter Class. To modify that, look into the Documentation of VMR.ahk to know how.
SaifAqqad for their wrapper class for Voicemeeter's Remote API.