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

An f0(t) trajectory extracted from a render — the demodulator output the drift/jitter statistics consume. More...

#include <pitch_track.hpp>

Public Member Functions

std::vector< double > voiced_times_s () const
 Center times of the voiced frames only, in order.
std::vector< double > voiced_hz () const
 Fundamentals of the voiced frames only, index-aligned to voiced_times_s().

Public Attributes

double sample_rate = 0.0
int window_length = 0
int hop_length = 0
std::vector< PitchTrackPoint > points

Detailed Description

An f0(t) trajectory extracted from a render — the demodulator output the drift/jitter statistics consume.

Member Function Documentation

◆ voiced_hz()

std::vector< double > pulp::test::audio::PitchTrack::voiced_hz ( ) const

Fundamentals of the voiced frames only, index-aligned to voiced_times_s().

This is the f0(t) series handed to the Quality Lab (Allan deviation / Theil-Sen slope live there, not in C++).

◆ voiced_times_s()

std::vector< double > pulp::test::audio::PitchTrack::voiced_times_s ( ) const

Center times of the voiced frames only, in order.

Member Data Documentation

◆ hop_length

int pulp::test::audio::PitchTrack::hop_length = 0

◆ points

std::vector<PitchTrackPoint> pulp::test::audio::PitchTrack::points

◆ sample_rate

double pulp::test::audio::PitchTrack::sample_rate = 0.0

◆ window_length

int pulp::test::audio::PitchTrack::window_length = 0

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