Packages

object Drand extends ProductReader[Drand] with Serializable

A demand-rate UGen which outputs random elements from a sequence. Drand allows duplicate elements to appear, whereas Dxrand forbids repetitions.

Examples
// sequence of constants
play {
  val in = Drand(Seq(3, 5, 7, 8, 11), inf)
  val tr = Impulse.kr(5)
  val v  = Demand.kr(tr, in)
  v.poll(tr)
  val f  = (v + 62).midiCps
  SinOsc.ar(f) * 0.1
}
See also

Demand

Dser

Dxrand

Diwhite

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Drand
  2. Serializable
  3. ProductReader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def read(in: RefMapIn, key: String, arity: Int): Drand
    Definition Classes
    DrandProductReader