Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::test::audio::Ar2Observation Struct Reference

One short-window AR(2) pole fit. More...

#include <modal_extraction.hpp>

Public Attributes

double time_s = 0.0
 Centre of the window.
double freq_hz = 0.0
 From the pole angle.
double sigma_np_s = 0.0
 From the pole radius, -ln(r) * fs.
double q = 0.0
 pi * freq_hz / sigma_np_s.
double residual_ratio = 0.0
 Residual energy over signal energy in the window, in [0, 1].

Detailed Description

One short-window AR(2) pole fit.

Member Data Documentation

◆ freq_hz

double pulp::test::audio::Ar2Observation::freq_hz = 0.0

From the pole angle.

◆ q

double pulp::test::audio::Ar2Observation::q = 0.0

pi * freq_hz / sigma_np_s.

◆ residual_ratio

double pulp::test::audio::Ar2Observation::residual_ratio = 0.0

Residual energy over signal energy in the window, in [0, 1].

A two-pole model fits a single decaying sinusoid to near zero; a large value means the window is not one mode and the pole is meaningless.

◆ sigma_np_s

double pulp::test::audio::Ar2Observation::sigma_np_s = 0.0

From the pole radius, -ln(r) * fs.

◆ time_s

double pulp::test::audio::Ar2Observation::time_s = 0.0

Centre of the window.


The documentation for this struct was generated from the following file: