BufferPrepare
object BufferPrepare
Asynchronously prepares a buffer's content by reading successive chunks from a file.
Asynchronously prepares a buffer's content by reading successive chunks from a file.
class Object
trait Matchable
class Any
Type members
Classlikes
The configuration of the buffer preparation.
The configuration of the buffer preparation.
- Value Params
- buf
the buffer to read into. This buffer must have been allocated already.
- f
the audio file to read in
- key
the key of the
graph.Buffer
element, used for setting the synth control eventually- offset
the offset into the file to start with
- spec
the file's specification (number of channels and frames)