c

de.sciss.synth.message

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 with Product with Serializable

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.

id

the identifier of the buffer to read into.

path

the path of the audio-file to read.

fileStartFrame

the offset in frames into the audio-file to begin reading from

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.

bufStartFrame

the frame offset in the buffer to begin writing to.

leaveOpen

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

channels

a sequence of channel indices to read. Zero corresponds to the first channel of the file.

See also

Buffer#readChannelMsg

BufferAllocReadChannel

BufferRead

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufferReadChannel
  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 BufferReadChannel(id: Int, path: String, fileStartFrame: Int, numFrames: Int, bufStartFrame: Int, leaveOpen: Boolean, channels: List[Int], completion: Option[Packet])

    id

    the identifier of the buffer to read into.

    path

    the path of the audio-file to read.

    fileStartFrame

    the offset in frames into the audio-file to begin reading from

    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.

    bufStartFrame

    the frame offset in the buffer to begin writing to.

    leaveOpen

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

    channels

    a sequence of channel indices to read. Zero corresponds to the first channel of the file.

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. val bufStartFrame: Int
  7. val channels: List[Int]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val completion: Option[Packet]
    Definition Classes
    BufferReadChannelHasCompletion
  10. def encode(c: PacketCodec, b: ByteBuffer): Unit
    Definition Classes
    MessagePacket
  11. def encodedSize(c: PacketCodec): Int
    Definition Classes
    MessagePacket
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean
    Definition Classes
    Message → AnyRef → Any
  14. val fileStartFrame: Int
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    Message → AnyRef → Any
  17. val id: Int
  18. def isComparable(other: Any): Boolean
    Attributes
    protected
    Definition Classes
    Message
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def isSynchronous: Boolean
    Definition Classes
    AsyncSendSend
  21. val leaveOpen: Boolean
  22. val name: String
    Definition Classes
    MessagePacket
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. val numFrames: Int
  27. val path: String
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  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]): BufferReadChannel
    Definition Classes
    BufferReadChannelHasCompletion
  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