someCyclesBy - probability
- function
Randomly applies the given function by the given probability on a cycle by cycle basis.
Similar to sometimesBy
s("bd,hh*8").someCyclesBy(.3, x=>x.speed("0.5")) | parameter | type |
|---|---|
| probability |
|
| a number between 0 and 1 | |
| function |
|
| the transformation to apply | |