org.herac.tuxguitar.player.base
Interface MidiSequencer
- All Known Implementing Classes:
- MidiSequencerEmpty, MidiSequencerImpl
public interface MidiSequencer
getKey
java.lang.String getKey()
getName
java.lang.String getName()
open
void open()
throws MidiPlayerException
- Throws:
MidiPlayerException
close
void close()
throws MidiPlayerException
- Throws:
MidiPlayerException
start
void start()
throws MidiPlayerException
- Throws:
MidiPlayerException
stop
void stop()
throws MidiPlayerException
- Throws:
MidiPlayerException
isRunning
boolean isRunning()
throws MidiPlayerException
- Throws:
MidiPlayerException
setTickPosition
void setTickPosition(long tickPosition)
throws MidiPlayerException
- Throws:
MidiPlayerException
getTickPosition
long getTickPosition()
throws MidiPlayerException
- Throws:
MidiPlayerException
getTickLength
long getTickLength()
throws MidiPlayerException
- Throws:
MidiPlayerException
setMidiPort
void setMidiPort(MidiPort port)
throws MidiPlayerException
- Throws:
MidiPlayerException
getMidiPort
MidiPort getMidiPort()
throws MidiPlayerException
- Throws:
MidiPlayerException
createSequence
MidiSequenceHandler createSequence(int tracks)
throws MidiPlayerException
- Throws:
MidiPlayerException
setSolo
void setSolo(int index,
boolean solo)
throws MidiPlayerException
- Throws:
MidiPlayerException
setMute
void setMute(int index,
boolean mute)
throws MidiPlayerException
- Throws:
MidiPlayerException