public class SubtractiveSynthVoice extends Circuit implements UnitVoice
| Modifier and Type | Field and Description |
|---|---|
UnitInputPort |
cutoff |
UnitInputPort |
cutoffRange |
UnitInputPort |
frequency |
UnitInputPort |
pitchModulation
This scales the frequency value.
|
UnitInputPort |
Q |
FALSE, TRUE| Constructor and Description |
|---|
SubtractiveSynthVoice() |
| Modifier and Type | Method and Description |
|---|---|
UnitOutputPort |
getOutput() |
static VoiceDescription |
getVoiceDescription() |
void |
noteOff(TimeStamp timeStamp) |
void |
noteOn(double freq,
double ampl,
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 frequency
public UnitInputPort pitchModulation
public UnitInputPort cutoff
public UnitInputPort cutoffRange
public UnitInputPort Q
public void noteOn(double freq,
double ampl,
TimeStamp timeStamp)
UnitVoicepublic UnitOutputPort getOutput()
getOutput in interface UnitSourcepublic void usePreset(int presetIndex)
public static VoiceDescription getVoiceDescription()