useRNG - mod
Sets which random number generator to use. Historically Strudel would
use useRNG('legacy'), which remains the default. To use a new more statistically
precise RNG, try useRNG('precise').
useRNG('legacy')
// Repeats every 300 cycles
$: n(irand(50)).seg(16).scale("C:minor").ribbon(88, 32)
$: n(irand(50)).seg(16).scale("C:minor").ribbon(388, 32) | parameter | type |
|---|---|
| mod |
|
| Mode. One of 'legacy', 'precise' | |