undegradeBy - amount
Inverse of degradeBy: Randomly removes events from the pattern by a given amount.
0 = 100% chance of removal
1 = 0% chance of removal
Events that would be removed by degradeBy are let through by undegradeBy and vice versa (see second example).
s("hh*8").undegradeBy(0.2) s("hh*10").layer(
x => x.degradeBy(0.2).pan(0),
x => x.undegradeBy(0.8).pan(1)
) | parameter | type |
|---|---|
| amount |
|
| a number between 0 and 1 | |