A demand-rate UGen that produces a geometric series. Each value is calculated as
x[t] = x[t-1] * grow
With x[0]
given as argument start
.
===Examples===
// increasing frequency
play {
val in = Dgeom(1, 1.2, 15)
val tr = Impulse.kr(5)
val v = Demand.kr(tr, in)
v.poll(tr)
val f = v * 30 + 300
SinOsc.ar(f) * 0.1
}
- See also
- Companion
- class