BufferOut

final case
class BufferOut(rate: Rate, artifact: String, action: String, numFrames: GE, numChannels: GE) extends Lazy

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
trait Serializable
trait Lazy
trait GE
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product