public class EnvelopeDAHDSR extends UnitGate implements UnitSource
SegmentedEnvelope
Modifier and Type | Field and Description |
---|---|
UnitInputPort |
amplitude |
UnitInputPort |
attack
Time in seconds for the rising stage of the envelope to go from 0.0 to 1.0.
|
UnitInputPort |
decay
Time in seconds for the falling stage to go from 0 dB to -90 dB.
|
UnitInputPort |
delay
Time in seconds for first stage of the envelope, before the attack.
|
UnitInputPort |
hold
Time in seconds for the plateau between the attack and decay stages.
|
UnitInputPort |
release
Time in seconds to go from 0 dB to -90 dB.
|
UnitInputPort |
sustain
Level for the sustain stage.
|
FALSE, PORT_NAME_AMPLITUDE, PORT_NAME_CUTOFF, PORT_NAME_FREQUENCY, PORT_NAME_FREQUENCY_SCALER, PORT_NAME_INPUT, PORT_NAME_OUTPUT, PORT_NAME_PAN, PORT_NAME_PHASE, PORT_NAME_PRESSURE, PORT_NAME_TIMBRE, PORT_NAME_TIME, synthesisEngine, TRUE, VERY_SMALL_FLOAT
Constructor and Description |
---|
EnvelopeDAHDSR() |
Modifier and Type | Method and Description |
---|---|
void |
export(Circuit circuit,
java.lang.String prefix) |
void |
generate(int start,
int limit)
Perform essential synthesis function.
|
UnitOutputPort |
getOutput() |
setupAutoDisable
addPort, addPort, autoStop, convertHalfLifeToMultiplier, convertTimeToRate, flattenOutputs, generate, getCircuit, getFramePeriod, getFrameRate, getId, getPortByName, getPorts, getSynthesisEngine, getSynthesizer, getTopUnit, getUnitGenerator, incrementWrapPhase, isEnabled, isStartRequired, printConnections, printConnections, printConnections, pullData, setCircuit, setEnabled, setFrameRate, setPort, setSynthesisEngine, start, start, start, stop, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnitGenerator
public UnitInputPort delay
public UnitInputPort attack
public UnitInputPort hold
public UnitInputPort decay
public UnitInputPort sustain
public UnitInputPort release
public UnitInputPort amplitude
public void generate(int start, int limit)
UnitGenerator
generate
in class UnitGenerator
start
- offset into port bufferslimit
- limit offset into port buffers for looppublic void export(Circuit circuit, java.lang.String prefix)
public UnitOutputPort getOutput()
getOutput
in interface UnitSource
getOutput
in class UnitGate