Class

de.sciss.synth.message

BufferWrite

Related Doc: package message

Permalink

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 the startFrame) 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

BufferRead

Buffer#writeMsg

Linear Supertypes
Serializable, Serializable, Product, Equals, HasCompletion, AsyncSend, Send, ServerMessage, Message, Packet, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferWrite
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasCompletion
  7. AsyncSend
  8. Send
  9. ServerMessage
  10. Message
  11. Packet
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BufferWrite(id: Int, path: String, fileType: AudioFileType, sampleFormat: SampleFormat, numFrames: Int, startFrame: Int, leaveOpen: Boolean, completion: Option[Packet])

    Permalink

    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 the startFrame) 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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val args: Any*

    Permalink
    Definition Classes
    Message
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val completion: Option[Packet]

    Permalink
    Definition Classes
    BufferWriteHasCompletion
  8. def encode(c: PacketCodec, b: ByteBuffer): Unit

    Permalink
    Definition Classes
    Message → Packet
  9. def encodedSize(c: PacketCodec): Int

    Permalink
    Definition Classes
    Message → Packet
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Message → AnyRef → Any
  12. val fileType: AudioFileType

    Permalink

    the header format of the audio-file

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    Message → AnyRef → Any
  16. val id: Int

    Permalink

    the identifier of the buffer whose contents to write.

  17. def isComparable(other: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Message
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def isSynchronous: Boolean

    Permalink
    Definition Classes
    AsyncSendSend
  20. val leaveOpen: Boolean

    Permalink

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

  21. val name: String

    Permalink
    Definition Classes
    Message → Packet
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. val numFrames: Int

    Permalink

    the number of frames to write.

    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.

  26. val path: String

    Permalink

    the path of the audio-file to write to.

  27. val sampleFormat: SampleFormat

    Permalink

    the sample resolution of the audio-file

  28. val startFrame: Int

    Permalink

    the frame offset in the buffer to begin reading from

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    Message → AnyRef → Any
  31. def updateCompletion(completion: Option[Packet]): BufferWrite

    Permalink
    Definition Classes
    BufferWriteHasCompletion
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasCompletion

Inherited from AsyncSend

Inherited from Send

Inherited from ServerMessage

Inherited from Message

Inherited from Packet

Inherited from AnyRef

Inherited from Any

Ungrouped