BufferReadChannel
final case
class BufferReadChannel(id: Int, path: String, fileStartFrame: Int, numFrames: Int, bufStartFrame: Int, leaveOpen: Boolean, channels: List[Int], completion: Option[Packet]) extends Message with HasCompletion
The /b_readChannel
message tells the server to read a portion of an audio-file into an existing buffer,
selecting a subset of the file's channels.
- Value Params
- bufStartFrame
the frame offset in the buffer to begin writing to.
- channels
a sequence of channel indices to read. Zero corresponds to the first channel of the file.
- fileStartFrame
the offset in frames into the audio-file to begin reading from
- id
the identifier of the buffer to read into.
- leaveOpen
if
true
, leaves the file open for streaming with the DiskIn UGen.- numFrames
the number of frames to read which will be the size of the allocated buffer. The special value of
-1
denotes that as many frames are read as are available in the file or fit into the buffer.- path
the path of the audio-file to read.
- See also
trait Serializable
trait Product
trait Equals
trait HasCompletion
trait AsyncSend
trait Send
trait ServerMessage
class Message
trait Packet
class Object
trait Matchable
class Any