|
Control Surface API
1.1.11
|
00001 package com.bitwig.base.control_surface.iface; 00002 00003 import com.bitwig.base.control_surface.ControlSurfaceException; 00004 import org.mozilla.javascript.Callable; 00005 00011 public interface Track extends Channel 00012 { 00019 void addPositionObserver(Callable callback); 00020 00027 ClipLauncherSlots getClipLauncherSlots(); 00028 00033 @Deprecated 00034 ClipLauncherSlots getClipLauncher(); 00035 00042 void addIsQueuedForStopObserver(Callable callback); 00043 00050 BooleanValue getArm(); 00051 00058 BooleanValue getMonitor(); 00059 00066 BooleanValue getAutoMonitor(); 00067 00074 EnumValue getCrossFadeMode(); 00075 00083 BooleanValue getIsMatrixStopped(); 00084 00094 BooleanValue getIsMatrixQueuedForStop(); 00095 00103 SourceSelector getSourceSelector(); 00104 00110 void stop(); 00111 00117 void returnToArrangement(); 00118 00125 void setName(String name); 00126 00136 void addPitchNamesObserver(Callable callback); 00137 00145 void playNote(int key, int velocity); 00146 00154 void startNote(int key, int velocity); 00155 00163 void stopNote(int key, int velocity); 00164 00174 void addTrackTypeObserver(int numChars, String textWhenUnassigned, Callable callback); 00175 00182 BooleanValue getCanHoldNoteData(); 00183 00190 BooleanValue getCanHoldAudioData(); 00191 00200 CursorDevice createCursorDevice() throws ControlSurfaceException; 00201 00216 CursorDevice createCursorDevice(String name) throws ControlSurfaceException; 00217 00232 CursorDevice createCursorDevice(String name, int numSends) throws ControlSurfaceException; 00233 00241 @Deprecated 00242 Device getPrimaryDevice(); 00243 00248 @Deprecated 00249 Device getPrimaryInstrument(); 00250 }