org.tritonus.share.midi
Class TDirectSynthesizer

java.lang.Object
  extended by org.tritonus.share.midi.TMidiDevice
      extended by org.tritonus.share.midi.TDirectSynthesizer
All Implemented Interfaces:
MidiDevice, Synthesizer
Direct Known Subclasses:
FluidSynthesizer

public abstract class TDirectSynthesizer
extends TMidiDevice
implements Synthesizer

Base class for Synthesizer implementations.

This base class is for Synthesizer implementations that do not itself operate on MIDI, but instread implement the MidiChannel interface. For these implementations, MIDI behaviour is simulated on top of MidiChannel.

See Also:
MidiChannel

Nested Class Summary
 
Nested classes/interfaces inherited from class org.tritonus.share.midi.TMidiDevice
TMidiDevice.Info, TMidiDevice.TReceiver, TMidiDevice.TTransmitter
 
Nested classes/interfaces inherited from interface javax.sound.midi.MidiDevice
MidiDevice.Info
 
Constructor Summary
TDirectSynthesizer(MidiDevice.Info info)
          Initialize this class.
 
Method Summary
 
Methods inherited from class org.tritonus.share.midi.TMidiDevice
close, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getMicrosecondPosition, getReceiver, getReceivers, getTransmitter, getTransmitters, isOpen, open
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sound.midi.Synthesizer
getAvailableInstruments, getChannels, getDefaultSoundbank, getLatency, getLoadedInstruments, getMaxPolyphony, getVoiceStatus, isSoundbankSupported, loadAllInstruments, loadInstrument, loadInstruments, remapInstrument, unloadAllInstruments, unloadInstrument, unloadInstruments
 
Methods inherited from interface javax.sound.midi.MidiDevice
close, getDeviceInfo, getMaxReceivers, getMaxTransmitters, getMicrosecondPosition, getReceiver, getReceivers, getTransmitter, getTransmitters, isOpen, open
 

Constructor Detail

TDirectSynthesizer

public TDirectSynthesizer(MidiDevice.Info info)
Initialize this class. This sets the info from the passed one, sets the open status to false, the number of Receivers to zero and the collection of Transmitters to be empty.

Parameters:
info - The info object that describes this instance.