public abstract class UnitGate extends UnitGenerator implements UnitSource
Modifier and Type | Field and Description |
---|---|
UnitGatePort |
input
Input that triggers the envelope.
|
UnitOutputPort |
output |
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 |
---|
UnitGate() |
Modifier and Type | Method and Description |
---|---|
UnitOutputPort |
getOutput() |
void |
setupAutoDisable(UnitGenerator unit)
Specify a unit to be disabled when the envelope finishes.
|
addPort, addPort, autoStop, convertHalfLifeToMultiplier, convertTimeToRate, flattenOutputs, generate, 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 UnitGatePort input
public UnitOutputPort output
public UnitOutputPort getOutput()
getOutput
in interface UnitSource
public void setupAutoDisable(UnitGenerator unit)
unit
-