SuperCollider CLASSES

Dser

Demand rate sequence generator.
Inherits from: ListDUGen : DUGen : UGen : AbstractFunction : Object

Description

Demand rate sequence generator.

See Pser for structurally related equivalent.

Class Methods

*new (list, repeats: 1)

From superclass: ListDUGen

Arguments:

list

An array of values or other UGens.

repeats

Number of values to return.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

(
{
    var a, freq, trig;
    a = Dser([1, 3, 2, 7, 8], 8);
    trig = Impulse.kr(MouseX.kr(1, 40, 1));
    freq = Demand.kr(trig, 0, a) * 30 + 340;
    SinOsc.ar(freq) * 0.1

}.play;
)