Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 547 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 547 Bytes

AutoHotkey-Midi

Add MIDI input event handling to your AutoHotkey scripts

#include AutoHotkey-Midi/Midi.ahk

midi := new Midi()
midi.OpenMidiIn( 5 )

Return

MidiNoteOnA4:
	MsgBox You played note A4!
	Return

MidiControlChange1:
	cc := midi.MidiIn()
	ccValue := cc.value
	MsgBox You set the mod wheel to %ccValue%
	Return

Requirements

  • A modern version of AutoHotKey (1.1+) from http://ahkscript.org/
  • A system with winmm.dll (Windows 2000 or greater)

License

BSD

TODO

  • Documentation!
  • Midi output event support