A graph element that creates an empty buffer for the synth graph to write to. Upon completion of the encompassing proc, the buffer contents is written to an artifact referred to by its attribute-map key. When the file has been written, the action referred to by its attribute-map key is called. The element outputs the buffer-id.
An alternative is Action.WriteBuf
which is slightly more flexible. It writes the buffer contents when
a trigger is received, and outputs another trigger when writing finishes.
- Value Params
- action
a key into the encompassing object's attribute map, leading to an
Action
.- artifact
a key into the encompassing object's attribute map, leading to an
Artifact
.- numChannels
the number of channels to allocate
- numFrames
the number of frames to allocate
- rate
the rate at which the buffer-id is presented
- See also
- Companion
- object