ofxNanoKontrolTwo simplify the use of Nanokontrol 2 with Openframeworks. Expose callbacks and values read from Korg Nanokontrol 2
Just drop the folder into the openFrameworks/addons/
folder.
ofxMidi -> https://github.com/danomatika/ofxMidi
Only tested on MacOS Catalina and OF v0.11.0
Retrieve a vector<std:string>
of ports using instancedOfxNanoKontrolTwo.listPorts()
method.
Then find your NanoKontrol port id and set the port ID using instancedOfxNanoKontrolTwo.setPortID(yourPortID)
BEFORE calling setup()
.
Checkout the example for a working demo.
instancedOfxNanoKontrolTwo.values
or
instancedOfxNanoKontrolTwo.callbacks
cycle -> bool
track
left -> bool
right -> bool
player
rewind -> bool
forward -> bool
stop -> bool
play -> bool
rec -> bool
marker
set -> bool
left -> bool
right -> bool
ctrl is a vector from 0 to 7
knob -> float value 0.0 to 1.0
slider -> float value 0.0 to 1.0
solo -> bool
mute -> bool
rec -> bool