BufferWrite

final case class BufferWrite(id: Int, path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, startFrame: Int, leaveOpen: Boolean, completion: Option[Packet]) extends Message with HasCompletion

The /b_write message writes a portion of the buffer contents to an audio-file.

The /b_write message writes a portion of the buffer contents to an audio-file.

Value Params
fileType

the header format of the audio-file

id

the identifier of the buffer whose contents to write.

leaveOpen

if true, leaves the file open for streaming with the DiskOut UGen.

numFrames

the number of frames to write. The special value of -1 denotes that the whole buffer content (or the remainder after the startFrame) is written out.

path

the path of the audio-file to write to.

sampleFormat

the sample resolution of the audio-file

startFrame

the frame offset in the buffer to begin reading from

See also
trait Serializable
trait Product
trait Equals
trait AsyncSend
trait Send
class Message
trait Packet
class Object
trait Matchable
class Any

Value members

Concrete methods

def updateCompletion(completion: Option[Packet]): BufferWrite

Inherited methods

def encode(c: PacketCodec, b: ByteBuffer): Unit
Inherited from
Message
def encodedSize(c: PacketCodec): Int
Inherited from
Message
override def equals(other: Any): Boolean
Definition Classes
Message -> Any
Inherited from
Message
override def hashCode(): Int
Definition Classes
Message -> Any
Inherited from
Message
final def isSynchronous: Boolean
Inherited from
AsyncSend
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override def toString: String
Definition Classes
Message -> Any
Inherited from
Message

Inherited fields

val args: Any*
Inherited from
Message
val name: String
Inherited from
Message