Packages

final case class BufSamples(rate: Rate, buf: GE) extends SingleOut with Product with Serializable

Returns the current number of allocated samples in the Buffer at the provided index. A sample is not the same as a frame (compare with BufFrames ); a frame includes the samples in each channel of the buffer. Only for a mono buffer are samples the same as frames.

samples = frames * numChannels
buf

Buffer id.

See also

BufFrames

BufChannels

BufDur

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BufSamples
  2. Serializable
  3. SingleOut
  4. SomeOut
  5. Lazy
  6. GE
  7. UGenSource
  8. Expander
  9. Lazy
  10. Product
  11. Equals
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BufSamples(rate: Rate, buf: GE)

    buf

    Buffer id.

Value Members

  1. val buf: GE
  2. lazy val hashCode: Int
    Definition Classes
    UGenSource → AnyRef → Any
  3. final def name: String
    Definition Classes
    UGenSource
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val rate: Rate
    Definition Classes
    BufSamplesGE