BufDur

object BufDur extends ProductReader[BufDur]

Returns the current duration of the buffer at the provided index.

===Examples===

// duration of local buffer
play {
 val buf = LocalBuf(SampleRate.ir * 1.5, 2)
 BufDur.ir(buf).poll(0) // reports 1.5
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[BufDur]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ir(buf: GE): BufDur
Value Params
buf

Buffer id.

def kr(buf: GE): BufDur
Value Params
buf

Buffer id.

def read(in: RefMapIn, key: String, arity: Int): BufDur