/MidiController

Collection of code I wrote to use some MIDI controllers in Linux DAWs

Primary LanguageC++

marcus-s' MIDI Controller repo

In this repo I keep some small code I basically wrote for myself to be able to use MIDI controllers in Linux DAWs which are otherwise not usable.

The code is mostly rudimentary and, in many cases, can be optimized.

Controllers:

  • AKAI Midi Mix

Requirements:

Akai MIDI Mix

The midimix.cpp file will generate a tool which will read a file in /tmp, generated by the AkaiMidiMix.sh script, which is also in this repo. The script needs to run in the background as well, so that the program can read from the tmp-file. The midimix.cpp is currently statically set to port 9000 - but this can easily be adapted in the code prior to compiling.

Bank shifting is also intercepted and allows you to infinitely shift banks right or left, each step shifts up or down by eight respectively.

The master slider is also intercepted and sent on a separate OSC path.

Compile the tool with g++ midimix.cpp -w -O2 -o ./midimix

Run the script first, and then the resulting midimix program. Open your DAW of choice and add a OSC-based MIDI controller to the configuration, which listens to port 9000.