Code: Select all
hardware_button = hardware_surface.createHardwareButton("XTOUCH1_BTN");
HardwareActionMatcher pressedButtonAction = midi_in.createNoteOnActionMatcher(0, 87);
HardwareActionMatcher releasedButtonAction = midi_in.createNoteOffActionMatcher(0, 87);
I dug through the API help but could not find much there, thought maybe this... but have no idea what to supply as an expression...
Code: Select all
HardwareActionMatcher createActionMatcher (String expression)
Code: Select all
AbsoluteHardwareValueMatcher createNoteOnVelocityValueMatcher (int channel, int note )ugh... got lost on this one. Any help would be appreciated! Thanks
