Packages

c

de.sciss.synth.message

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 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

Buffer#writeMsg

BufferRead

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

Instance Constructors

  1. 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 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
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val args: Any*
    Definition Classes
    Message
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. val completion: Option[Packet]
    Definition Classes
    BufferWriteHasCompletion
  8. def encode(c: PacketCodec, b: ByteBuffer): Unit
    Definition Classes
    MessagePacket
  9. def encodedSize(c: PacketCodec): Int
    Definition Classes
    MessagePacket
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean
    Definition Classes
    Message → AnyRef → Any
  12. val fileType: AudioFileType
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    Message → AnyRef → Any
  15. val id: Int
  16. def isComparable(other: Any): Boolean
    Attributes
    protected
    Definition Classes
    Message
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def isSynchronous: Boolean
    Definition Classes
    AsyncSendSend
  19. val leaveOpen: Boolean
  20. val name: String
    Definition Classes
    MessagePacket
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val numFrames: Int
  25. val path: String
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val sampleFormat: SampleFormat
  28. val startFrame: Int
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    Message → AnyRef → Any
  31. def updateCompletion(completion: Option[Packet]): BufferWrite
    Definition Classes
    BufferWriteHasCompletion
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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