| 493 | } |
| 494 | |
| 495 | void setRandomTarget(ParamId paramId, float amount, bool immediate) { |
| 496 | float next = getRandomizedValue(paramId, amount); |
| 497 | if (immediate) { |
| 498 | params[paramId].setValue(next); |
| 499 | } |
| 500 | paramsSlewed.setTargetValue(paramId, next); |
| 501 | } |
| 502 | |
| 503 | float getRandomAmountForParam(ParamId paramId) { |
| 504 | switch (paramId) { |
nothing calls this directly
no test coverage detected