Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SoftSynthesizer [javadoc | source]
java.lang.Object
   com.sun.media.sound.SoftSynthesizer

All Implemented Interfaces:
    AudioSynthesizer, ReferenceCountingDevice

The software synthesizer class.
Nested Class Summary:
protected static class  SoftSynthesizer.WeakAudioStream   
Field Summary
protected static final  String INFO_NAME     
protected static final  String INFO_VENDOR     
protected static final  String INFO_DESCRIPTION     
protected static final  String INFO_VERSION     
protected static final  Info info     
protected  WeakAudioStream weakstream     
protected  Object control_mutex     
protected  int voiceIDCounter     
protected  int voice_allocation_mode     
protected  boolean load_default_soundbank     
protected  boolean reverb_light     
protected  boolean reverb_on     
protected  boolean chorus_on     
protected  boolean agc_on     
protected  SoftChannel[] channels     
protected  SoftChannelProxy[] external_channels     
Method from com.sun.media.sound.SoftSynthesizer Summary:
close,   findInstrument,   getAvailableInstruments,   getChannels,   getControlRate,   getDefaultSoundbank,   getDeviceID,   getDeviceInfo,   getFormat,   getGeneralMidiMode,   getLatency,   getLoadedInstruments,   getMainMixer,   getMaxPolyphony,   getMaxReceivers,   getMaxTransmitters,   getMicrosecondPosition,   getPropertyInfo,   getReceiver,   getReceiverReferenceCounting,   getReceivers,   getTransmitter,   getTransmitterReferenceCounting,   getTransmitters,   getTuning,   getVoiceAllocationMode,   getVoiceStatus,   getVoices,   isOpen,   isSoundbankSupported,   loadAllInstruments,   loadInstrument,   loadInstruments,   open,   open,   openStream,   remapInstrument,   removeReceiver,   setGeneralMidiMode,   unloadAllInstruments,   unloadInstrument,   unloadInstruments
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SoftSynthesizer Detail:
 public  void close() 
 protected SoftInstrument findInstrument(int program,
    int bank,
    int channel) 
 public Instrument[] getAvailableInstruments() 
 public MidiChannel[] getChannels() 
 protected float getControlRate() 
 public Soundbank getDefaultSoundbank() 
 protected int getDeviceID() 
 public Info getDeviceInfo() 
 public AudioFormat getFormat() 
 protected int getGeneralMidiMode() 
 public long getLatency() 
 public Instrument[] getLoadedInstruments() 
 protected SoftMainMixer getMainMixer() 
 public int getMaxPolyphony() 
 public int getMaxReceivers() 
 public int getMaxTransmitters() 
 public long getMicrosecondPosition() 
 public AudioSynthesizerPropertyInfo[] getPropertyInfo(Map<String, Object> info) 
 public Receiver getReceiver() throws MidiUnavailableException 
 public Receiver getReceiverReferenceCounting() throws MidiUnavailableException 
 public List<Receiver> getReceivers() 
 public Transmitter getTransmitter() throws MidiUnavailableException 
 public Transmitter getTransmitterReferenceCounting() throws MidiUnavailableException 
 public List<Transmitter> getTransmitters() 
 protected SoftTuning getTuning(Patch patch) 
 protected int getVoiceAllocationMode() 
 public VoiceStatus[] getVoiceStatus() 
 protected SoftVoice[] getVoices() 
 public boolean isOpen() 
 public boolean isSoundbankSupported(Soundbank soundbank) 
 public boolean loadAllInstruments(Soundbank soundbank) 
 public boolean loadInstrument(Instrument instrument) 
 public boolean loadInstruments(Soundbank soundbank,
    Patch[] patchList) 
 public  void open() throws MidiUnavailableException 
 public  void open(SourceDataLine line,
    Map<String, Object> info) throws MidiUnavailableException 
 public AudioInputStream openStream(AudioFormat targetFormat,
    Map<String, Object> info) throws MidiUnavailableException 
 public boolean remapInstrument(Instrument from,
    Instrument to) 
 protected  void removeReceiver(Receiver recv) 
 protected  void setGeneralMidiMode(int gmmode) 
 public  void unloadAllInstruments(Soundbank soundbank) 
 public  void unloadInstrument(Instrument instrument) 
 public  void unloadInstruments(Soundbank soundbank,
    Patch[] patchList)