org.herac.tuxguitar.player.base
Interface MidiSequencer

All Known Implementing Classes:
MidiSequencerEmpty, MidiSequencerImpl

public interface MidiSequencer


Method Summary
 void close()
           
 MidiSequenceHandler createSequence(int tracks)
           
 java.lang.String getKey()
           
 MidiPort getMidiPort()
           
 java.lang.String getName()
           
 long getTickLength()
           
 long getTickPosition()
           
 boolean isRunning()
           
 void open()
           
 void setMidiPort(MidiPort port)
           
 void setMute(int index, boolean mute)
           
 void setSolo(int index, boolean solo)
           
 void setTickPosition(long tickPosition)
           
 void start()
           
 void stop()
           
 

Method Detail

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