org.herac.tuxguitar.player
Class NullPlayer
java.lang.Object
org.herac.tuxguitar.player.NullPlayer
- All Implemented Interfaces:
- MidiPlayer
public class NullPlayer
- extends java.lang.Object
- implements MidiPlayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullPlayer
public NullPlayer()
close
public void close()
- Specified by:
close
in interface MidiPlayer
getInstrumentName
public java.lang.String getInstrumentName(int instrument)
- Specified by:
getInstrumentName
in interface MidiPlayer
getSoundbank
public javax.sound.midi.Soundbank getSoundbank()
- Specified by:
getSoundbank
in interface MidiPlayer
getTickPosition
public long getTickPosition()
- Specified by:
getTickPosition
in interface MidiPlayer
init
public void init()
- Specified by:
init
in interface MidiPlayer
isMetronomeEnabled
public boolean isMetronomeEnabled()
- Specified by:
isMetronomeEnabled
in interface MidiPlayer
isPaused
public boolean isPaused()
- Specified by:
isPaused
in interface MidiPlayer
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface MidiPlayer
loadSoundbank
public boolean loadSoundbank(java.io.File file)
- Specified by:
loadSoundbank
in interface MidiPlayer
pause
public void pause()
- Specified by:
pause
in interface MidiPlayer
play
public void play()
- Specified by:
play
in interface MidiPlayer
playBeat
public void playBeat(SongTrack track,
java.util.List notes)
- Specified by:
playBeat
in interface MidiPlayer
reset
public void reset()
- Specified by:
reset
in interface MidiPlayer
setMetronomeEnabled
public void setMetronomeEnabled(boolean metronomeEnabled)
- Specified by:
setMetronomeEnabled
in interface MidiPlayer
setSynthesizer
public void setSynthesizer(javax.sound.midi.Synthesizer synthesizer)
- Specified by:
setSynthesizer
in interface MidiPlayer
setTickPosition
public void setTickPosition(long position,
long startMove)
- Specified by:
setTickPosition
in interface MidiPlayer
stop
public void stop()
- Specified by:
stop
in interface MidiPlayer
updateControllers
public void updateControllers()
- Specified by:
updateControllers
in interface MidiPlayer
updatePrograms
public void updatePrograms()
- Specified by:
updatePrograms
in interface MidiPlayer
write
public void write(java.io.OutputStream out)
- Specified by:
write
in interface MidiPlayer
getSystemErrors
public java.util.List getSystemErrors()
- Specified by:
getSystemErrors
in interface MidiPlayer
getConfigOption
public Option getConfigOption(ConfigEditor editor,
ToolBar toolBar,
Composite parent)
- Specified by:
getConfigOption
in interface MidiPlayer