public class Reverb extends UGenChain implements DataBeadReceiver
UGen.OutputInitializationRegime, UGen.OutputPauseRegime
bufferSize, bufIn, bufOut, context, ins, outputInitializationRegime, outputPauseRegime, outs
Constructor and Description |
---|
Reverb(AudioContext context)
Constructor for a reverb unit with one output channel.
|
Reverb(AudioContext context,
int outChannels)
Constructor for a reverb unit with the specified number of output
channels.
|
Modifier and Type | Method and Description |
---|---|
float |
getDamping()
Gets the damping factor.
|
float |
getEarlyReflectionsLevel()
Gets the early reflections level.
|
float |
getLateReverbLevel()
Gets the late reverb level.
|
DataBead |
getParams()
Gets a new DataBead filled with parameter values stored in the keys
"damping", "roomSize", "earlyReflectionsLevel", and "lateReverbLevel".
|
float |
getSize()
Gets the "room size".
|
protected void |
preFrame()
Called before the signal chain is updated for this Chain.
|
DataBeadReceiver |
sendData(DataBead db)
Sets the reverb parameters with a DataBead, using values stored in the
keys "damping", "roomSize", "earlyReflectionsLevel", and
"lateReverbLevel".
|
Reverb |
setDamping(float damping)
Sets the damping factor.
|
Reverb |
setEarlyReflectionsLevel(float earlyLevel)
Sets the early reflections level (the amount of early reflections heard
in the output).
|
Reverb |
setLateReverbLevel(float lateLevel)
Sets the late reverb level (the amount of late reverb heard in the
output).
|
Reverb |
setSize(float size)
Sets the "room size".
|
addToChainOutput, addToChainOutput, addToChainOutput, calculateBuffer, drawFromChainInput, drawFromChainInput, drawFromChainInput, postFrame
addDependent, addInput, addInput, clearDependents, clearInputConnections, containsInput, crossfadeInput, getConnectedInputs, getContext, getEnvelopes, getIns, getNumberOfConnectedUGens, getNumberOfDependents, getOutBuffer, getOuts, getTimeTakenLastUpdate, getValue, getValue, getValueDouble, getValueDouble, initializeOuts, isTimerMode, isUpdated, noInputs, pause, printInBuffers, printInputList, printOutBuffers, removeAllConnections, removeConnection, removeDependent, setOutsToPause, setTimerMode, setValue, update, zeroIns, zeroOuts
getKillListener, getName, isDeleted, isPaused, kill, message, messageReceived, setKillListener, setName, start, toString
public Reverb(AudioContext context)
context
- The audio context.public Reverb(AudioContext context, int outChannels)
context
- The audio context.outChannels
- The number of output channels.protected void preFrame()
UGenChain
public float getSize()
public Reverb setSize(float size)
size
- The "room size".public float getDamping()
public Reverb setDamping(float damping)
damping
- The damping factor.public float getEarlyReflectionsLevel()
public Reverb setEarlyReflectionsLevel(float earlyLevel)
earlyLevel
- The early reflections level.public float getLateReverbLevel()
public Reverb setLateReverbLevel(float lateLevel)
lateLevel
- The late reverb level.public DataBeadReceiver sendData(DataBead db)
sendData
in interface DataBeadReceiver
db
- The parameter DataBead.this
.public DataBead getParams()