int[] |
addControllerEventListener( ControllerEventListener listener , int[] controllers )
`Registers a controller event listener to receive notification whenever the sequencer processes a control-change event of the requested type or types. |
boolean |
addMetaEventListener( MetaEventListener listener )
`Registers a meta-event listener to receive notification whenever a meta-event is encountered in the sequence and processed by the sequencer. |
int |
getLoopCount()
재생 반복 횟수를 얻기. |
long |
getLoopEndPoint()
Obtains the end position of the loop, in MIDI ticks. |
long |
getLoopStartPoint()
Obtains the start position of the loop, in MIDI ticks. |
Sequencer.SyncMode |
getMasterSyncMode()
Obtains the current master synchronization mode for this sequencer. |
Sequencer.SyncMode[] |
getMasterSyncModes()
Obtains the set of master synchronization modes supported by this sequencer. |
long |
getMicrosecondLength()
Obtains the length of the current sequence, expressed in microseconds, or 0 if no sequence is set. |
long |
getMicrosecondPosition()
Obtains the current position in the sequence, expressed in microseconds. |
Sequence |
getSequence()
Obtains the sequence on which the Sequencer is currently operating. |
Sequencer.SyncMode |
getSlaveSyncMode()
Obtains the current slave synchronization mode for this sequencer. |
Sequencer.SyncMode[] |
getSlaveSyncModes()
Obtains the set of slave synchronization modes supported by the sequencer. |
float |
getTempoFactor()
Returns the current tempo factor for the sequencer. |
float |
getTempoInBPM()
Obtains the current tempo, expressed in beats per minute. |
float |
getTempoInMPQ()
Obtains the current tempo, expressed in microseconds per quarter note. |
long |
getTickLength()
Obtains the length of the current sequence, expressed in MIDI ticks, or 0 if no sequence is set. |
long |
getTickPosition()
Obtains the current position in the sequence, expressed in MIDI ticks. |
boolean |
getTrackMute( )
Obtains the current mute state for a track. |
boolean |
getTrackSolo( )
Obtains the current solo state for a track. |
boolean |
isRecording()
Indicates whether the Sequencer is currently recording. |
boolean |
isRunning()
Indicates whether the Sequencer is currently running. |
void |
recordDisable( )
Disables recording to the specified track. |
void |
recordEnable( )
Prepares the specified track for recording events received on a particular channel. |
int[] |
removeControllerEventListener( ControllerEventListener listener , int[] controllers )
Removes a controller event listener's interest in one or more types of controller event. |
void |
removeMetaEventListener( MetaEventListener listener )
Removes the specified meta-event listener from this sequencer's list of registered listeners, if in fact the listener is registered. |
void |
setLoopCount( )
재생 반복 횟수를 설정. |
void |
setLoopEndPoint( )
Sets the last MIDI tick that will be played in the loop. |
void |
setLoopStartPoint( )
Sets the first MIDI tick that will be played in the loop. |
void |
setMasterSyncMode( )
Sets the source of timing information used by this sequencer. |
void |
setMicrosecondPosition( )
Sets the current position in the sequence, expressed in microseconds |
void |
setSequence( )
Sets the current sequence on which the sequencer operates. |
void |
setSequence( )
Sets the current sequence on which the sequencer operates. |
void |
setSlaveSyncMode( )
Sets the slave synchronization mode for the sequencer. |
void |
setTempoFactor( )
Scales the sequencer's actual playback tempo by the factor provided. |
void |
setTempoInBPM( )
Sets the tempo in beats per minute. |
void |
setTempoInMPQ( )
Sets the tempo in microseconds per quarter note. |
void |
setTickPosition( )
Sets the current sequencer position in MIDI ticks |
void |
setTrackMute( )
Sets the mute state for a track. |
void |
setTrackSolo( )
Sets the solo state for a track. |
void |
start()
Starts playback of the MIDI data in the currently loaded sequence. |
void |
startRecording()
Starts recording and playback of MIDI data. |
void |
stop()
Stops recording, if active, and playback of the currently loaded sequence, if any. |
void |
stopRecording()
Stops recording, if active. |