A demand-rate UGen which reproduces and repeats values of a sequence. It is
very similar to Dseq , the difference being that the length parameter
specifies the length of output sequence, not the number of repetitions of the
input sequence. The input sequence is repeated if length is greater than the
length of the input sequence.
The arguments can be constant or any other ugens, where demand rate UGens are
normally polled, proceeding to the next value when the sub-sequence ends.
Examples
// sequence of constants
play {
val in = Dseq(Seq(3, 5, 7, 8, 11), 8)
val tr = Impulse.kr(5)
val v = Demand.kr(tr, in)
v.poll(tr)
val f = (v + 62).midicps
SinOsc.ar(f) * 0.1
}
A demand-rate UGen which reproduces and repeats values of a sequence. It is very similar to
Dseq
, the difference being that thelength
parameter specifies the length of output sequence, not the number of repetitions of the input sequence. The input sequence is repeated iflength
is greater than the length of the input sequence.The arguments can be constant or any other ugens, where demand rate UGens are normally polled, proceeding to the next value when the sub-sequence ends.
Examples
Dseq
Demand