AutoHotkey wrapper class for Voicemeeter Remote API.
To use VMR.ahk
in your script, follow one of the following methods:
- Install and set up ahkpm
- Run
ahkpm install gh:SaifAqqad/VMR.ahk
- Include VMR in your script by running
ahkpm include gh:SaifAqqad/VMR.ahk -f myScript.ahk
- Download the latest pre-built version from the
dist
folder / latest release or follow the build instructions below - Include it using
#Include VMR.ahk
or copy it to a library folder and use#Include <VMR>
Important
The current version of VMR only supports AHK v2, The AHK v1 version is still available on the v1 branch but will (probably) not receive any updates.
- Create an instance of the
VMR
class and log in to the API:voicemeeter := VMR().Login()
- The
VMR
instance will have two arrays (Bus
andStrip
), as well as other properties/methods that will allow you to control voicemeeter in AHKvoicemeeter.Bus[1].mute := true voicemeeter.Strip[4].gain++
For more info, check out the documentation and the examples
To build VMR.ahk
, either run the vscode task Build VMR
or run the build script using ahkpm or manually:
# ahkpm
ahkpm run build
# Manually
Autohotkey.exe ".\Build.ahk" ".\VMR.ahk" "..\dist\VMR.ahk" "<version number>"