Flatten a multichannel link::Classes/Buffer:: to a single channel. This can be useful for constructing n-dimensional data points for use with link::Classes/FluidDataSet::
@ -41,23 +41,17 @@ The link::Classes/Server:: on which to run
ARGUMENT:: source
The link::Classes/Buffer:: to flatten
ARGUMENT:: destination
The link::Classes/Buffer:: to write the flattened data to
ARGUMENT:: startFrame
Where in the source should the flattening process start, in samples.
ARGUMENT:: axis
Whether to group points channel-wise or frame-wise
ARGUMENT:: numFrames
How many frames should be processed.
ARGUMENT:: freeWhenDone
Free the server instance when processing complete. Default true
ARGUMENT:: startChan
For multichannel source buffers, which channel to start processing at.
ARGUMENT:: action
Runs when processing is complete
METHOD:: kr
Run as a control rate link::Classes/UGen::
ARGUMENT:: source
The link::Classes/Buffer:: to flatten
ARGUMENT:: numChans
For multichannel source buffers, how many channels should be processed.
ARGUMENT:: destination
The link::Classes/Buffer:: to write the flattened data to
@ -65,10 +59,11 @@ The link::Classes/Buffer:: to write the flattened data to
ARGUMENT:: axis
Whether to group points channel-wise or frame-wise
ARGUMENT:: trig
Trigger signal to defer / retrigger processing
ARGUMENT:: freeWhenDone
Free the server instance when processing complete. Default true