#include <transient_phase_policy.hpp>
|
| void | prepare (const Config &config) |
| | RT contract: prepare() allocates the previous-magnitude buffer and is not audio-thread safe.
|
| void | reset () |
| SampleType | analyze (const std::complex< SampleType > *const *frames, int channels, int num_bins) |
| | Analyze one frame group (all channels of the same time index) and return the phase-reset confidence: strength when a transient is detected, 0 otherwise.
|
|
| static bool | checked_retained_bytes (int fft_size, std::uint64_t target_max_bytes, std::uint64_t &bytes) noexcept |
◆ analyze()
template<typename SampleType = float>
Analyze one frame group (all channels of the same time index) and return the phase-reset confidence: strength when a transient is detected, 0 otherwise.
◆ checked_retained_bytes()
template<typename SampleType = float>
◆ prepare()
template<typename SampleType = float>
RT contract: prepare() allocates the previous-magnitude buffer and is not audio-thread safe.
After prepare(), analyze() and reset() are allocation-free for the prepared FFT size.
◆ reset()
template<typename SampleType = float>
The documentation for this class was generated from the following file: