| 24 | void setAttackTime(float t){ mAttackRate = 1.0f/t; } |
| 25 | void setDecayTime (float t){ mDecayRate = 1.0f/t; } |
| 26 | void setOutputTime(float t){ mOutputRate = 1.0f/t; } |
| 27 | |
| 28 | /// Process one 512-sample block; returns [0…1] with inertia. |
| 29 | float operator()(const int16_t* samples, size_t length) { |