An attempt to build midi platform around Akai Fire MIDI controller with haxe.
End goal is to enable easy construction of custom MIDI interfaces, with the software running by raspberry pi or similar.
Currently in prototype stage.
Many thanks go to Paul Curtis for sharing their reverse engineered SysEx messages - https://blog.segger.com/decoding-the-akai-fire-part-1/
Also to Jürgen Schwietering for the font rendering routines - https://github.com/scjurgen/AkaiFireMapper
Fundamentally you need haxe installed and set up, available here - https://haxe.org/download/
You also need grig.midi and it's dependencies installed - https://lib.haxe.org/p/grig.midi/
Assuming haxe is set up.
# install dependencies
haxelib install thx.core
haxelib install tink.core
haxelib install grig.pitch
# install grig.midi
haxelib install grig.midi
Various tests can be run to check code still works.
haxe test.hxml
You need a physical akai fire plugged into a usb port.
# build the code
cd example
haxe build-fire-test.hxml
# run the binary
./bin/cpp/fire-test/FireTest
Plot 2D lines on the OLED display using encoders.
VOLUME is X axis PAN is Y axis BROWSER button clears the display
# build the code
cd example
haxe build-etcha.hxml
# run the binary
./bin/cpp/fire-test/Etcha
If nothing happens you might need to change the port name or number in example/src/FireTest.hx
To get an idea of what these values are you can trace the available MIDI ports.
# build
haxe build-trace-midi.hxml
# run
./bin/cpp/trace-midi-out/TraceMidiOut