This is a replacement jack.cpp edited by Drumfix, for compiling a libaam.so that uses jack.

Download source code: jack.cpp

As per jorgen, the source is public domain (the original version is here).

This version creates one ALSA MIDI input, which can be routed using qjackctl. If you need more than one, edit this line:

#define NUM_MIDI_INS 1

To compile jack.cpp, you need libasound and libjack installed (libasound2, libasound2-dev, libjack0, libjack-dev). Then compile with this line:

g++ -shared -lasound -ljack jack.cpp -o /_path_to_energyXT2_/libaam.so
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License