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

Options for measure_modulation_sidebands. More...

#include <audio_spectrum.hpp>

Public Attributes

int max_order = 8
 Lines counted as the modulation's own: the carrier +/- k times the modulation frequency for k = 1..max_order.
double tolerance_bins = 8.0
 Half-width of each expected line, in bins: the window's main lobe, so a line's own skirt is counted as the line and not as residual.
double band_low_hz = 20.0
 The residual is summed over [band_low_hz, band_high_hz].
double band_high_hz = 20000.0
Window window = Window::kaiser
 A Kaiser window: a Hann window's side lobes (-31 dB, falling 18 dB an octave) around a carrier that is not bin-centred sum to a -40 dB "residual" with nothing there, which is the floor a Hann measurement of this kind has.
double kaiser_beta = kDefaultKaiserBeta
int fft_length = 65536
int analysis_offset = 0
 Samples skipped (settling / plugin latency).
int channel = 0

Detailed Description

Member Data Documentation

◆ analysis_offset

int pulp::test::audio::ModulationSidebandOptions::analysis_offset = 0

Samples skipped (settling / plugin latency).

◆ band_high_hz

double pulp::test::audio::ModulationSidebandOptions::band_high_hz = 20000.0

◆ band_low_hz

double pulp::test::audio::ModulationSidebandOptions::band_low_hz = 20.0

The residual is summed over [band_low_hz, band_high_hz].

◆ channel

int pulp::test::audio::ModulationSidebandOptions::channel = 0

◆ fft_length

int pulp::test::audio::ModulationSidebandOptions::fft_length = 65536

◆ kaiser_beta

double pulp::test::audio::ModulationSidebandOptions::kaiser_beta = kDefaultKaiserBeta

◆ max_order

int pulp::test::audio::ModulationSidebandOptions::max_order = 8

Lines counted as the modulation's own: the carrier +/- k times the modulation frequency for k = 1..max_order.

◆ tolerance_bins

double pulp::test::audio::ModulationSidebandOptions::tolerance_bins = 8.0

Half-width of each expected line, in bins: the window's main lobe, so a line's own skirt is counted as the line and not as residual.

◆ window

Window pulp::test::audio::ModulationSidebandOptions::window = Window::kaiser

A Kaiser window: a Hann window's side lobes (-31 dB, falling 18 dB an octave) around a carrier that is not bin-centred sum to a -40 dB "residual" with nothing there, which is the floor a Hann measurement of this kind has.

The Kaiser at the default beta reads below -100 dB.


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/tools/audio/analysis/include/pulp/audio/analysis/audio_spectrum.hpp