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

Where a steady tone's energy went after a periodic modulation was applied to it. More...

#include <audio_spectrum.hpp>

Public Attributes

double carrier_hz = 0.0
double modulation_hz = 0.0
double carrier_power = 0.0
 Power at the carrier's own line (the carrier itself); the reference the two ratios are relative to.
double sideband_db = kSilenceFloorDb
 Power at the carrier +/- k * modulation_hz, re the carrier, dB.
double residual_db = kSilenceFloorDb
 Power everywhere else in the band, re the carrier, dB.
int fft_length = 0
double bin_hz = 0.0

Detailed Description

Where a steady tone's energy went after a periodic modulation was applied to it.

A carrier whose level (or any parameter) is moved by a periodic law at modulation_hz carries all of its energy at the carrier and at the carrier +/- k times that frequency: the sidebands are the modulation, and anything else in the band is what the modulation PATH added – a stepper's hold images, the fold of a modulation the path sampled too slowly to represent, noise. The two ratios are the A/B of a modulation path: a faithful path reads a high sideband_db and a residual_db at the floor a run without modulation establishes.

Member Data Documentation

◆ bin_hz

double pulp::test::audio::ModulationSidebandReport::bin_hz = 0.0

◆ carrier_hz

double pulp::test::audio::ModulationSidebandReport::carrier_hz = 0.0

◆ carrier_power

double pulp::test::audio::ModulationSidebandReport::carrier_power = 0.0

Power at the carrier's own line (the carrier itself); the reference the two ratios are relative to.

Backend-scaled: use only as a ratio.

◆ fft_length

int pulp::test::audio::ModulationSidebandReport::fft_length = 0

◆ modulation_hz

double pulp::test::audio::ModulationSidebandReport::modulation_hz = 0.0

◆ residual_db

double pulp::test::audio::ModulationSidebandReport::residual_db = kSilenceFloorDb

Power everywhere else in the band, re the carrier, dB.

◆ sideband_db

double pulp::test::audio::ModulationSidebandReport::sideband_db = kSilenceFloorDb

Power at the carrier +/- k * modulation_hz, re the carrier, 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