multibuffer~
multibuffer~
Description
Combine multiple discrete buffers into a single named and indexed set which can be referenced by name in the same way as objects reference a standard buffer~ .
Arguments
Inlets
current [number, bang]
Setting a number to multibuffer~ inlet or setting the attribute, determines the selected buffer from the list of buffers referenced in the attribute. The attribute is 0-based, with the first buffer to reference being '0'.
Outlets
sizeout [number]
The left outlet reports the total size of the current buffer in samples whenever selected, instantiated, modified, or receives a bang. The actual duration of the buffer is determined by the number of samples and the sample rate.
chanout [number]
The middle outlet reports the current number of channels of the current buffer whenever selected, instantiated, modified, or receives a bang.
srout [number]
The right outlet reports the sample size of the current buffer whenever selected, instantiated, modified, or receives a bang.
index [number]
The right outlet reports the currently selected index whenever selected, instantiated, modified, or receives a bang.
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
current [number, bang]
Setting a number to multibuffer~ inlet or setting the attribute, determines the selected buffer from the list of buffers referenced in the attribute. The attribute is 0-based, with the first buffer to reference being '0'.
See Also
Name | Description |
---|---|
buffer~ | |
buffer~ | A data buffer for holding audio (or potentially some other) data. |
bufferop~ | Apply an expression to a buffer. |
lookup~ | Index a buffer object using a signal, for waveshaping. |
dim | Output dimensions of a buffer. |
channels | Output channel count of a buffer. |