|
Control Surface API
1.1.11
|
00001 package com.bitwig.base.control_surface.iface; 00002 00003 import com.bitwig.base.control_surface.ControlSurfaceException; 00004 00012 public interface NoteInput 00013 { 00022 void setShouldConsumeEvents(boolean shouldConsumeEvents) throws ControlSurfaceException; 00023 00038 void setKeyTranslationTable(Object[] table) throws ControlSurfaceException; 00039 00052 void setVelocityTranslationTable(Object[] table) throws ControlSurfaceException; 00053 00067 void assignPolyphonicAftertouchToExpression(int channel, NoteExpression expression, int pitchRange) throws ControlSurfaceException; 00068 00078 void sendRawMidiEvent(int status, int data0, int data1) throws ControlSurfaceException; 00079 00086 enum NoteExpression 00087 { 00088 NONE, 00089 PITCH_DOWN, 00090 PITCH_UP, 00091 GAIN_DOWN, 00092 GAIN_UP, 00093 PAN_LEFT, 00094 PAN_RIGHT, 00095 TIMBRE_DOWN, 00096 TIMBRE_UP 00097 } 00098 }