| 39 | // State access |
| 40 | bool isVocal() const { return mVocalActive; } |
| 41 | float getConfidence() const { return mConfidenceSmoother.value(); } |
| 42 | void setThreshold(float threshold) { mOnThreshold = threshold; mOffThreshold = fl::max(0.0f, threshold - 0.13f); } |
| 43 | void setSmoothingAlpha(float tau) { mConfidenceSmoother.setTau(tau); } |
| 44 |