|
| void | prepare (const AudioSpec &spec) |
| | Prepares the de-esser state and filters.
|
| |
| void | processBlock (AudioBufferView< T > buffer) noexcept |
| | Processes audio in-place. Stereo-linked to preserve imaging.
|
| |
| void | reset () noexcept |
| | Resets internal DSP state.
|
| |
| void | setAttack (T ms) noexcept |
| | Sets the detector attack, clamped to [0.1, 20] ms. Non-finite values are ignored.
|
| |
| void | setRelease (T ms) noexcept |
| | Sets the detector release, clamped to [1, 500] ms. Non-finite values are ignored.
|
| |
| void | setFrequency (T hz) noexcept |
| | Sets the sibilance centre frequency in Hz.
|
| |
| void | setBandwidth (T octaves) noexcept |
| | Sets the detection/cut bandwidth in octaves (floored at 0.1). Non-finite values are ignored.
|
| |
| void | setThreshold (T db) noexcept |
| | Sets the detection threshold in dBFS. Non-finite values are ignored.
|
| |
| void | setReduction (T db) noexcept |
| | Sets the maximum gain reduction in dB (sign is ignored). Non-finite values are ignored.
|
| |
| void | setDetectionMode (DetectionMode mode) noexcept |
| | Sets the detection mode. Out-of-range values are clamped so the getter stays honest.
|
| |
| T | getGainReductionDb () const noexcept |
| |
| T | getFrequency () const noexcept |
| |
| T | getThreshold () const noexcept |
| |
| DetectionMode | getDetectionMode () const noexcept |
| |
| T | getAttack () const noexcept |
| |
| T | getRelease () const noexcept |
| |
| T | getBandwidth () const noexcept |
| |
| T | getReduction () const noexcept |
| |
| std::vector< uint8_t > | getState () const |
| | Serializes the parameter state (setup/UI threads; allocates).
|
| |
| bool | setState (const uint8_t *data, size_t size) |
| | Restores parameters from a blob (tolerant; rejects foreign ids).
|
| |
template<FloatType T>
class dspark::DeEsser< T >
Stereo-linked, CPU-optimized dynamic-EQ de-esser.
Detection is stereo-linked (one shared envelope) to preserve imaging. Channels beyond the first two are left untouched (pass-through), as is the whole buffer before prepare().
- Template Parameters
-
| T | Sample type (float or double). |
Definition at line 64 of file DeEsser.h.