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