public class

SoftVoice

extends VoiceStatus
java.lang.Object
   ↳ javax.sound.midi.VoiceStatus
     ↳ com.sun.media.sound.SoftVoice

Class Overview

Software synthesizer voice class.

Summary

Fields
protected ModelChannelMixer channelmixer
protected double[] co_noteon_keynumber
protected double[] co_noteon_on
protected double[] co_noteon_velocity
public int exclusiveClass
protected ModelConnectionBlock[] extendedConnectionBlocks
protected SoftInstrument instrument
protected Map<StringSoftControl> objects
protected boolean on
protected SoftPerformer performer
protected boolean portamento
public boolean releaseTriggered
protected SoftResamplerStreamer resampler
protected SoftChannel softchannel
protected boolean sostenuto
protected SoftChannel stealer_channel
protected ModelChannelMixer stealer_channelmixer
protected ModelConnectionBlock[] stealer_extendedConnectionBlocks
protected int stealer_noteNumber
protected SoftPerformer stealer_performer
protected boolean stealer_releaseTriggered
protected int stealer_velocity
protected int stealer_voiceID
protected boolean sustain
protected SoftSynthesizer synthesizer
protected double tunedKey
protected SoftTuning tuning
protected int voiceID
[Expand]
Inherited Fields
From class javax.sound.midi.VoiceStatus
Public Constructors
SoftVoice(SoftSynthesizer synth)
Protected Methods
void controlChange(int controller, int value)
void mixAudioStream(SoftAudioBuffer in, SoftAudioBuffer out, SoftAudioBuffer dout, float amp_from, float amp_to)
void noteOff(int velocity)
void noteOn(int noteNumber, int velocity, int delay)
void nrpnChange(int controller, int value)
void processAudioLogic(SoftAudioBuffer[] buffer)
void processControlLogic()
void redamp()
void rpnChange(int controller, int value)
void setChannelPressure(int pressure)
void setMute(boolean mute)
void setNote(int noteNumber)
void setPitchBend(int bend)
void setPolyPressure(int pressure)
void setSoloMute(boolean mute)
void shutdown()
void soundOff()
void updateTuning(SoftTuning newtuning)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected ModelChannelMixer channelmixer

protected double[] co_noteon_keynumber

protected double[] co_noteon_on

protected double[] co_noteon_velocity

public int exclusiveClass

protected ModelConnectionBlock[] extendedConnectionBlocks

protected SoftInstrument instrument

protected Map<StringSoftControl> objects

protected boolean on

protected SoftPerformer performer

protected boolean portamento

public boolean releaseTriggered

protected SoftResamplerStreamer resampler

protected SoftChannel softchannel

protected boolean sostenuto

protected SoftChannel stealer_channel

protected ModelChannelMixer stealer_channelmixer

protected ModelConnectionBlock[] stealer_extendedConnectionBlocks

protected int stealer_noteNumber

protected SoftPerformer stealer_performer

protected boolean stealer_releaseTriggered

protected int stealer_velocity

protected int stealer_voiceID

protected boolean sustain

protected SoftSynthesizer synthesizer

protected double tunedKey

protected SoftTuning tuning

protected int voiceID

Public Constructors

public SoftVoice (SoftSynthesizer synth)

Protected Methods

protected void controlChange (int controller, int value)

protected void mixAudioStream (SoftAudioBuffer in, SoftAudioBuffer out, SoftAudioBuffer dout, float amp_from, float amp_to)

protected void noteOff (int velocity)

protected void noteOn (int noteNumber, int velocity, int delay)

protected void nrpnChange (int controller, int value)

protected void processAudioLogic (SoftAudioBuffer[] buffer)

protected void processControlLogic ()

protected void redamp ()

protected void rpnChange (int controller, int value)

protected void setChannelPressure (int pressure)

protected void setMute (boolean mute)

protected void setNote (int noteNumber)

protected void setPitchBend (int bend)

protected void setPolyPressure (int pressure)

protected void setSoloMute (boolean mute)

protected void shutdown ()

protected void soundOff ()

protected void updateTuning (SoftTuning newtuning)