BufRateScale

object BufRateScale extends ProductReader[BufRateScale]

Returns a ratio by which the playback of the buffer at the provided index is to be scaled relative to the current sample rate of the server.

buffer sample rate / server sample rate

===Examples===

// rate scale of local buffer
play {
 val buf = LocalBuf(1024)
 BufRateScale.ir(buf).poll(0) // reports 1.0 because buffer rate matches server rate
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[BufRateScale]
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): BufRateScale
Value Params
buf

Buffer id.

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

Buffer id.

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