channels
Output channel count of a buffer.
Description
Output the channel count of a named buffer~ object.
Arguments
buffername [symbol]
The named buffer~ to get the channel count from.
Inlets
input [bang]
A bang to the channels objects' inlet triggers the channel count output.
Outlets
out [number]
The channel count of the buffer~ .
Fixed Attributes
These attributes must be set in the object box and determine the behavior of the object at runtime.
buffername [symbol]
The named buffer~ to get the channel count from.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
buffer [number] (default: 0)
If multiple buffer names are declared to be used, this sets the currently active buffer using an index [0 based].
input [bang]
A bang to the channels objects' inlet triggers the channel count output.
See Also
Name | Description |
---|---|
buffer~ | A data buffer for holding audio (or potentially some other) data. |
lookup~ | Index a buffer object using a signal, for waveshaping. |
dim | Output dimensions of a buffer. |