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

#include <modal_extraction.hpp>

Public Attributes

ModeAnalysisOptions analysis {}
int max_input_samples = 1 << 20
 Requested input bound.
int max_modes = 64
double min_separation_cents = 25.0
 Qualified candidates closer than this are one mode.
double confidence_floor = 0.70
double snr_floor_db = -60.0
std::string recipe = "modal-extraction-v1"

Member Data Documentation

◆ analysis

ModeAnalysisOptions pulp::test::audio::ModalExtractionOptions::analysis {}

◆ confidence_floor

double pulp::test::audio::ModalExtractionOptions::confidence_floor = 0.70

◆ max_input_samples

int pulp::test::audio::ModalExtractionOptions::max_input_samples = 1 << 20

Requested input bound.

The compiler also enforces an absolute 2^22 sample ceiling and a 2^20 FFT ceiling regardless of caller options.

◆ max_modes

int pulp::test::audio::ModalExtractionOptions::max_modes = 64

◆ min_separation_cents

double pulp::test::audio::ModalExtractionOptions::min_separation_cents = 25.0

Qualified candidates closer than this are one mode.

The higher amplitude*confidence candidate wins; the other remains in the ledger with merged == true. The analyzer's FFT resolution remains a harder lower bound on separability.

◆ recipe

std::string pulp::test::audio::ModalExtractionOptions::recipe = "modal-extraction-v1"

◆ snr_floor_db

double pulp::test::audio::ModalExtractionOptions::snr_floor_db = -60.0

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