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

All Implemented Interfaces:
    MidiChannel, ModelDirectedPlayer

Software Synthesizer MIDI channel class.
Field Summary
protected  double portamento_time     
protected  int[] portamento_lastnote     
protected  int portamento_lastnote_ix     
protected  SoftTuning tuning     
protected  int tuning_bank     
protected  int tuning_program     
protected  SoftInstrument current_instrument     
protected  ModelChannelMixer current_mixer     
protected  ModelDirector current_director     
protected  int cds_control_number     
protected  ModelConnectionBlock[] cds_control_connections     
protected  ModelConnectionBlock[] cds_channelpressure_connections     
protected  ModelConnectionBlock[] cds_polypressure_connections     
protected  boolean sustain     
protected  boolean[][] keybasedcontroller_active     
protected  double[][] keybasedcontroller_value     
 Map<Integer, int> co_midi_rpn_rpn_i     
 Map<Integer, double> co_midi_rpn_rpn     
 Map<Integer, int> co_midi_nrpn_nrpn_i     
 Map<Integer, double> co_midi_nrpn_nrpn     
Constructor:
 public SoftChannel(SoftSynthesizer synth,
    int channel) 
Method from com.sun.media.sound.SoftChannel Summary:
allNotesOff,   allSoundOff,   applyInstrumentCustomization,   controlChange,   controlChangePerNote,   getChannelPressure,   getControlPerNote,   getController,   getMono,   getMute,   getOmni,   getPitchBend,   getPolyPressure,   getProgram,   getSolo,   initVoice,   localControl,   mapChannelPressureToDestination,   mapControlToDestination,   mapPolyPressureToDestination,   noteOff,   noteOff,   noteOn,   noteOn,   nrpnChange,   play,   programChange,   programChange,   resetAllControllers,   resetAllControllers,   rpnChange,   setChannelPressure,   setMono,   setMute,   setOmni,   setPitchBend,   setPolyPressure,   setSolo,   tuningChange,   tuningChange
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SoftChannel Detail:
 public  void allNotesOff() 
 public  void allSoundOff() 
 protected  void applyInstrumentCustomization() 
 public  void controlChange(int controller,
    int value) 
 public  void controlChangePerNote(int noteNumber,
    int controller,
    int value) 
 public int getChannelPressure() 
 public int getControlPerNote(int noteNumber,
    int controller) 
 public int getController(int controller) 
 public boolean getMono() 
 public boolean getMute() 
 public boolean getOmni() 
 public int getPitchBend() 
 public int getPolyPressure(int noteNumber) 
 public int getProgram() 
 public boolean getSolo() 
 protected  void initVoice(SoftVoice voice,
    SoftPerformer p,
    int voiceID,
    int noteNumber,
    int velocity,
    int delay,
    ModelConnectionBlock[] connectionBlocks,
    ModelChannelMixer channelmixer,
    boolean releaseTriggered) 
 public boolean localControl(boolean on) 
 public  void mapChannelPressureToDestination(int[] destination,
    int[] range) 
 public  void mapControlToDestination(int control,
    int[] destination,
    int[] range) 
 public  void mapPolyPressureToDestination(int[] destination,
    int[] range) 
 public  void noteOff(int noteNumber) 
 public  void noteOff(int noteNumber,
    int velocity) 
 public  void noteOn(int noteNumber,
    int velocity) 
 protected  void noteOn(int noteNumber,
    int velocity,
    int delay) 
 public  void nrpnChange(int controller,
    int value) 
 public  void play(int performerIndex,
    ModelConnectionBlock[] connectionBlocks) 
 public  void programChange(int program) 
 public  void programChange(int bank,
    int program) 
 public  void resetAllControllers() 
 public  void resetAllControllers(boolean allControls) 
 public  void rpnChange(int controller,
    int value) 
 public  void setChannelPressure(int pressure) 
 public  void setMono(boolean on) 
 public  void setMute(boolean mute) 
 public  void setOmni(boolean on) 
 public  void setPitchBend(int bend) 
 public  void setPolyPressure(int noteNumber,
    int pressure) 
 public  void setSolo(boolean soloState) 
 public  void tuningChange(int program) 
 public  void tuningChange(int bank,
    int program)