public class DelayData extends DelayEvent
UGen.OutputInitializationRegime, UGen.OutputPauseRegime
bufferSize, bufIn, bufOut, context, ins, outputInitializationRegime, outputPauseRegime, outs
Constructor and Description |
---|
DelayData(AudioContext context,
double delay,
DataBeadReceiver receiver,
DataBead db)
Instantiates a new DelayMessage with the specified millisecond delay,
receiver, and DataBead message.
|
Modifier and Type | Method and Description |
---|---|
DataBead |
getData()
Gets the DataBead that will be sent when the DelayData fires.
|
DataBeadReceiver |
getReceiver()
Gets this DelayTrigger's receiver.
|
DelayData |
setData(DataBead db)
Sets the message to send when the DelayData fires.
|
DelayData |
setReceiver(DataBeadReceiver receiver)
Sets this DelayData's receiver.
|
void |
trigger()
Called when the delay time has elapsed.
|
calculateBuffer, getCount, getSampleDelay, isTriggeredAfter, reset, setSampleDelay, triggeredAfter
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 DelayData(AudioContext context, double delay, DataBeadReceiver receiver, DataBead db)
context
- The audio context.delay
- The delay time in milliseconds.receiver
- The DataBead receiver.db
- The DataBead to send.public void trigger()
DelayEvent
trigger
in class DelayEvent
public DataBeadReceiver getReceiver()
public DelayData setReceiver(DataBeadReceiver receiver)
receiver
- the new receiver.public DataBead getData()