#include <spectral_gate_blur.hpp>
|
| bool | set_threshold_magnitude (SampleType threshold) noexcept |
| | Set the scalar linear-magnitude threshold.
|
| SampleType | threshold_magnitude () const noexcept |
| bool | process (std::complex< SampleType > *const *frames, int channels, int num_bins, const SampleType *thresholds=nullptr) noexcept |
| | Gate a coherent channel group in place.
|
◆ process()
template<typename SampleType = float>
| bool pulp::signal::SpectralGateT< SampleType >::process |
( |
std::complex< SampleType > *const * | frames, |
|
|
int | channels, |
|
|
int | num_bins, |
|
|
const SampleType * | thresholds = nullptr ) |
|
inlinenoexcept |
Gate a coherent channel group in place.
When thresholds is non-null, it points to num_bins finite, non-negative per-bin thresholds and overrides the scalar threshold for this frame. Invalid geometry or a bad threshold curve is rejected before any bin is changed. Non-finite spectral input is replaced with silence so it cannot poison synthesis.
◆ set_threshold_magnitude()
template<typename SampleType = float>
Set the scalar linear-magnitude threshold.
Invalid values are rejected without changing the live threshold.
◆ threshold_magnitude()
template<typename SampleType = float>
The documentation for this class was generated from the following file: