rasmus.midi.provider
Class RasmusSynthesizer
java.lang.Object
rasmus.midi.provider.RasmusSynthesizer
- All Implemented Interfaces:
- javax.sound.midi.MidiDevice, javax.sound.midi.Synthesizer, javax.sound.sampled.Line, javax.sound.sampled.Mixer
public class RasmusSynthesizer
- extends java.lang.Object
- implements javax.sound.midi.Synthesizer, javax.sound.sampled.Mixer
Nested classes/interfaces inherited from interface javax.sound.midi.MidiDevice |
javax.sound.midi.MidiDevice.Info |
Nested classes/interfaces inherited from interface javax.sound.sampled.Mixer |
javax.sound.sampled.Mixer.Info |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RasmusSynthesizer
public RasmusSynthesizer()
getMaxPolyphony
public int getMaxPolyphony()
- Specified by:
getMaxPolyphony
in interface javax.sound.midi.Synthesizer
setMaxPolyphony
public void setMaxPolyphony(int maxpoly)
getLatency
public long getLatency()
- Specified by:
getLatency
in interface javax.sound.midi.Synthesizer
setLatency
public void setLatency(long latency)
getChannels
public javax.sound.midi.MidiChannel[] getChannels()
- Specified by:
getChannels
in interface javax.sound.midi.Synthesizer
getVoiceStatus
public javax.sound.midi.VoiceStatus[] getVoiceStatus()
- Specified by:
getVoiceStatus
in interface javax.sound.midi.Synthesizer
isSoundbankSupported
public boolean isSoundbankSupported(javax.sound.midi.Soundbank arg0)
- Specified by:
isSoundbankSupported
in interface javax.sound.midi.Synthesizer
toString
public java.lang.String toString(javax.sound.midi.Patch patch)
loadInstrument
public boolean loadInstrument(javax.sound.midi.Instrument arg0)
- Specified by:
loadInstrument
in interface javax.sound.midi.Synthesizer
unloadInstrument
public void unloadInstrument(javax.sound.midi.Instrument arg0)
- Specified by:
unloadInstrument
in interface javax.sound.midi.Synthesizer
remapInstrument
public boolean remapInstrument(javax.sound.midi.Instrument arg0,
javax.sound.midi.Instrument arg1)
- Specified by:
remapInstrument
in interface javax.sound.midi.Synthesizer
getDefaultSoundbank
public javax.sound.midi.Soundbank getDefaultSoundbank()
- Specified by:
getDefaultSoundbank
in interface javax.sound.midi.Synthesizer
getAvailableInstruments
public javax.sound.midi.Instrument[] getAvailableInstruments()
- Specified by:
getAvailableInstruments
in interface javax.sound.midi.Synthesizer
getLoadedInstruments
public javax.sound.midi.Instrument[] getLoadedInstruments()
- Specified by:
getLoadedInstruments
in interface javax.sound.midi.Synthesizer
loadAllInstruments
public boolean loadAllInstruments(javax.sound.midi.Soundbank arg0)
- Specified by:
loadAllInstruments
in interface javax.sound.midi.Synthesizer
unloadAllInstruments
public void unloadAllInstruments(javax.sound.midi.Soundbank arg0)
- Specified by:
unloadAllInstruments
in interface javax.sound.midi.Synthesizer
loadInstruments
public boolean loadInstruments(javax.sound.midi.Soundbank arg0,
javax.sound.midi.Patch[] arg1)
- Specified by:
loadInstruments
in interface javax.sound.midi.Synthesizer
unloadInstruments
public void unloadInstruments(javax.sound.midi.Soundbank arg0,
javax.sound.midi.Patch[] arg1)
- Specified by:
unloadInstruments
in interface javax.sound.midi.Synthesizer
getDeviceInfo
public javax.sound.midi.MidiDevice.Info getDeviceInfo()
- Specified by:
getDeviceInfo
in interface javax.sound.midi.MidiDevice
open
public void open()
- Specified by:
open
in interface javax.sound.midi.MidiDevice
- Specified by:
open
in interface javax.sound.sampled.Line
close
public void close()
- Specified by:
close
in interface javax.sound.midi.MidiDevice
- Specified by:
close
in interface javax.sound.sampled.Line
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface javax.sound.midi.MidiDevice
- Specified by:
isOpen
in interface javax.sound.sampled.Line
getMicrosecondPosition
public long getMicrosecondPosition()
- Specified by:
getMicrosecondPosition
in interface javax.sound.midi.MidiDevice
getMaxReceivers
public int getMaxReceivers()
- Specified by:
getMaxReceivers
in interface javax.sound.midi.MidiDevice
getMaxTransmitters
public int getMaxTransmitters()
- Specified by:
getMaxTransmitters
in interface javax.sound.midi.MidiDevice
getReceiver
public javax.sound.midi.Receiver getReceiver()
throws javax.sound.midi.MidiUnavailableException
- Specified by:
getReceiver
in interface javax.sound.midi.MidiDevice
- Throws:
javax.sound.midi.MidiUnavailableException
getReceivers
public java.util.List<javax.sound.midi.Receiver> getReceivers()
- Specified by:
getReceivers
in interface javax.sound.midi.MidiDevice
getTransmitter
public javax.sound.midi.Transmitter getTransmitter()
throws javax.sound.midi.MidiUnavailableException
- Specified by:
getTransmitter
in interface javax.sound.midi.MidiDevice
- Throws:
javax.sound.midi.MidiUnavailableException
getTransmitters
public java.util.List<javax.sound.midi.Transmitter> getTransmitters()
- Specified by:
getTransmitters
in interface javax.sound.midi.MidiDevice
getMixerInfo
public javax.sound.sampled.Mixer.Info getMixerInfo()
- Specified by:
getMixerInfo
in interface javax.sound.sampled.Mixer
getTargetLineInfo
public javax.sound.sampled.Line.Info[] getTargetLineInfo()
- Specified by:
getTargetLineInfo
in interface javax.sound.sampled.Mixer
getTargetLineInfo
public javax.sound.sampled.Line.Info[] getTargetLineInfo(javax.sound.sampled.Line.Info line)
- Specified by:
getTargetLineInfo
in interface javax.sound.sampled.Mixer
isLineSupported
public boolean isLineSupported(javax.sound.sampled.Line.Info line)
- Specified by:
isLineSupported
in interface javax.sound.sampled.Mixer
getLine
public javax.sound.sampled.Line getLine(javax.sound.sampled.Line.Info lineinfo)
throws javax.sound.sampled.LineUnavailableException
- Specified by:
getLine
in interface javax.sound.sampled.Mixer
- Throws:
javax.sound.sampled.LineUnavailableException
getTargetLines
public javax.sound.sampled.Line[] getTargetLines()
- Specified by:
getTargetLines
in interface javax.sound.sampled.Mixer
getLineInfo
public javax.sound.sampled.Line.Info getLineInfo()
- Specified by:
getLineInfo
in interface javax.sound.sampled.Line
getSourceLineInfo
public javax.sound.sampled.Line.Info[] getSourceLineInfo()
- Specified by:
getSourceLineInfo
in interface javax.sound.sampled.Mixer
getSourceLineInfo
public javax.sound.sampled.Line.Info[] getSourceLineInfo(javax.sound.sampled.Line.Info arg0)
- Specified by:
getSourceLineInfo
in interface javax.sound.sampled.Mixer
getMaxLines
public int getMaxLines(javax.sound.sampled.Line.Info arg0)
- Specified by:
getMaxLines
in interface javax.sound.sampled.Mixer
getSourceLines
public javax.sound.sampled.Line[] getSourceLines()
- Specified by:
getSourceLines
in interface javax.sound.sampled.Mixer
synchronize
public void synchronize(javax.sound.sampled.Line[] arg0,
boolean arg1)
- Specified by:
synchronize
in interface javax.sound.sampled.Mixer
unsynchronize
public void unsynchronize(javax.sound.sampled.Line[] arg0)
- Specified by:
unsynchronize
in interface javax.sound.sampled.Mixer
isSynchronizationSupported
public boolean isSynchronizationSupported(javax.sound.sampled.Line[] arg0,
boolean arg1)
- Specified by:
isSynchronizationSupported
in interface javax.sound.sampled.Mixer
getControls
public javax.sound.sampled.Control[] getControls()
- Specified by:
getControls
in interface javax.sound.sampled.Line
isControlSupported
public boolean isControlSupported(javax.sound.sampled.Control.Type arg0)
- Specified by:
isControlSupported
in interface javax.sound.sampled.Line
getControl
public javax.sound.sampled.Control getControl(javax.sound.sampled.Control.Type arg0)
- Specified by:
getControl
in interface javax.sound.sampled.Line
addLineListener
public void addLineListener(javax.sound.sampled.LineListener arg0)
- Specified by:
addLineListener
in interface javax.sound.sampled.Line
removeLineListener
public void removeLineListener(javax.sound.sampled.LineListener arg0)
- Specified by:
removeLineListener
in interface javax.sound.sampled.Line