public class WaveShapingVoice extends Circuit implements UnitVoice
| Modifier and Type | Field and Description |
|---|---|
UnitInputPort |
amplitude |
UnitInputPort |
frequency |
UnitFunctionPort |
function |
UnitInputPort |
pitchModulation |
UnitInputPort |
range |
FALSE, TRUE| Constructor and Description |
|---|
WaveShapingVoice() |
| Modifier and Type | Method and Description |
|---|---|
UnitOutputPort |
getOutput() |
static VoiceDescription |
getVoiceDescription() |
void |
noteOff(TimeStamp timeStamp) |
void |
noteOn(double freq,
double amp,
TimeStamp timeStamp)
Play whatever you consider to be a note on this voice.
|
void |
usePreset(int presetIndex) |
add, flattenOutputs, generate, setEnabled, setSynthesisEngineaddPort, addPort, convertHalfLifeToMultiplier, generate, getCircuit, getFramePeriod, getFrameRate, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, isEnabled, pullData, setCircuit, setFrameRate, setPort, start, start, stop, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUnitGenerator, setPortpublic UnitInputPort range
public UnitInputPort frequency
public UnitInputPort amplitude
public UnitFunctionPort function
public UnitInputPort pitchModulation
public UnitOutputPort getOutput()
getOutput in interface UnitSourcepublic void noteOn(double freq,
double amp,
TimeStamp timeStamp)
UnitVoicepublic void usePreset(int presetIndex)
public static VoiceDescription getVoiceDescription()