I have created a MIDI library for AutoHotKey v2.
The library is available for download on GitHub here:
https://github.com/emliberace/MIDIv2.ahk
Detailed documentation is available online here.
Features
- Open and close Input and Output ports
- Get all available MIDI Input/Output ports
- Define a default MIDI Output channel
- Filter incoming MIDI messages to a specific channel
- Send and receive MIDI messages:
- Note On/Off
- Control Change
- Aftertouch
- Poly Aftertouch
- Pitchbend
- Program Change
- SysEx
- MMC (MIDI Machine Control)
- MIDI Time Code
- MIDI Through
I have an older version of a MIDI library for AutoHotKey v1 that is available in these forums here. It has fewer features but is still functional.
The library for v2 is recommended.
(Special thanks to @Aurasphere for inspiration!)