GetBuf

final case
class GetBuf(trig: GE, key: String, buf: GE, numFrames: GE, startFrame: GE) extends Lazy with ControlRated

A graph element that when triggered sends the contents of a buffer to the client. The transfer happens asynchronously, and the element outputs a trigger itself when the transfer has completed.

'''Note''': currently, the behaviour is undefined if another trigger is received before a previous transfer process finishes. The caller should also avoid stopping the enclosing Proc before the transfer process finishes (there is no guarantee that the buffer contents is preserved).

Value Params
buf

the identifier of the buffer to transfer

key

the key into the enclosing object's attribute map, where a variable of type Seq[Double] is to be found

numFrames

the number of frames to transfer or -1 (default) to transfer as many frames as possible

startFrame

the offset into the buffer to start transferring from, which defaults to zero.

trig

a trigger signal that initiate the transfer process.

See also
Companion
object
trait Serializable
trait ControlRated
trait Lazy
trait GE
trait Expander[UGenInLike]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def productPrefix: String
Definition Classes
Product

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
final
def rate: Rate
Inherited from
ControlRated