Skip to content

Pattern: PScaleLinExp

Map input from linear range [a,b] to exponential range [c,d].

Example output

>>> p = PScaleLinExp(PWhite(0.0, 1.0), 0, 1, 40, 20000)
>>> p.nextn(16)
[946.888, 282.944, 2343.145, 634.637, 218.844, 19687.330, 4457.627, 172.419, 934.666, ... 46.697 ]