org.herac.tuxguitar.player.impl
public class MidiPlayerImpl extends Object implements MidiPlayer
| Constructor Summary | |
|---|---|
| MidiPlayerImpl() | |
| Method Summary | |
|---|---|
| void | addSecuence()
Agrega la Secuencia |
| void | allNotesOff() |
| void | close()
Cierra el Secuenciador y Sintetizador |
| void | connect(Receiver receiver)
Conecta el Synthesizer al Sequencer |
| void | connect()
Conecta el Synthesizer al Sequencer |
| Option | getConfigOption(ConfigEditor editor, ToolBar toolBar, Composite parent) |
| String | getInstrumentName(int instrument) |
| Soundbank | getSoundbank()
Retorna el Soundbank por defecto |
| Synthesizer | getSynthesizer()
Retorna el Sintetizador |
| List | getSystemErrors() |
| long | getTickPosition()
Retorna el tick de la nota que esta reproduciendo |
| void | init()
Inicia el Secuenciador y Sintetizador |
| boolean | isMetronomeEnabled() |
| boolean | isPaused() |
| boolean | isRunning()
Retorna True si esta reproduciendo |
| boolean | loadSoundbank(File file) |
| void | pause() |
| void | play()
Inicia la reproduccion |
| void | playBeat(SongTrack track, List notes) |
| void | reset()
Resetea los valores |
| void | send(MidiMessage message) |
| void | setMetronomeEnabled(boolean metronomeEnabled) |
| void | setPaused(boolean paused) |
| void | setRunning(boolean running)
Asigna el valor a running |
| void | setSynthesizer(Synthesizer synthesizer)
Asigna un Synthesizer |
| void | setTickPosition(long position)
Indica la posicion del secuenciador |
| void | setTickPosition(long position, long move)
Indica la posicion del secuenciador |
| void | stop(boolean paused)
Para la reproduccion |
| void | stop()
Para la reproduccion |
| void | updateControllers() |
| void | updatePrograms() |
| void | write(OutputStream out) |
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException
Throws: MidiUnavailableException