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 with Product with Serializable
The /b_write
message writes a portion of the buffer contents to an audio-file.
- id
the identifier of the buffer whose contents to write.
- path
the path of the audio-file to write to.
- fileType
the header format of the audio-file
- sampleFormat
the sample resolution of the audio-file
- numFrames
the number of frames to write. The special value of
-1
denotes that the whole buffer content (or the remainder after thestartFrame
) is written out.- startFrame
the frame offset in the buffer to begin reading from
- leaveOpen
if
true
, leaves the file open for streaming with the DiskOut UGen.
- See also
- Alphabetic
- By Inheritance
- BufferWrite
- Serializable
- Product
- Equals
- HasCompletion
- AsyncSend
- Send
- ServerMessage
- Message
- Packet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BufferWrite(id: Int, path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, startFrame: Int, leaveOpen: Boolean, completion: Option[Packet])
- id
the identifier of the buffer whose contents to write.
- path
the path of the audio-file to write to.
- fileType
the header format of the audio-file
- sampleFormat
the sample resolution of the audio-file
- numFrames
the number of frames to write. The special value of
-1
denotes that the whole buffer content (or the remainder after thestartFrame
) is written out.- startFrame
the frame offset in the buffer to begin reading from
- leaveOpen
if
true
, leaves the file open for streaming with the DiskOut UGen.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val args: Any*
- Definition Classes
- Message
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val completion: Option[Packet]
- Definition Classes
- BufferWrite → HasCompletion
- def encode(c: PacketCodec, b: ByteBuffer): Unit
- def encodedSize(c: PacketCodec): Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Message → AnyRef → Any
- val fileType: AudioFileType
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Message → AnyRef → Any
- val id: Int
- def isComparable(other: Any): Boolean
- Attributes
- protected
- Definition Classes
- Message
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isSynchronous: Boolean
- val leaveOpen: Boolean
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val numFrames: Int
- val path: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sampleFormat: SampleFormat
- val startFrame: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Message → AnyRef → Any
- def updateCompletion(completion: Option[Packet]): BufferWrite
- Definition Classes
- BufferWrite → HasCompletion
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated