|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.beadsproject.beads.core.Bead
net.beadsproject.beads.core.UGen
net.beadsproject.beads.core.UGenChain
net.beadsproject.beads.ugens.Reverb
public class Reverb
A basic reverb unit with adjustable room size, high-frequency damping, and early reflections and late reverb levels. If specified, creates a de-correlated multi-channel effect.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.beadsproject.beads.core.UGen |
---|
UGen.OutputInitializationRegime, UGen.OutputPauseRegime |
Field Summary |
---|
Fields inherited from class net.beadsproject.beads.core.UGen |
---|
bufferSize, bufIn, bufOut, context, ins, outputInitializationRegime, outputPauseRegime, outs |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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". |
Methods inherited from class net.beadsproject.beads.core.UGenChain |
---|
addToChainOutput, addToChainOutput, addToChainOutput, calculateBuffer, drawFromChainInput, drawFromChainInput, drawFromChainInput, postFrame |
Methods inherited from class net.beadsproject.beads.core.UGen |
---|
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 |
Methods inherited from class net.beadsproject.beads.core.Bead |
---|
getKillListener, getName, isDeleted, isPaused, kill, message, messageReceived, setKillListener, setName, start, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Reverb(AudioContext context)
context
- The audio context.public Reverb(AudioContext context, int outChannels)
context
- The audio context.outChannels
- The number of output channels.Method Detail |
---|
protected void preFrame()
UGenChain
preFrame
in class 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |