getCPP: Get Cepstral Peak Prominence

View source: R/pitchTrackers.R

getCPPR Documentation

Get Cepstral Peak Prominence

Description

Internal soundgen function.

Usage

getCPP(frame, samplingRate, pitch, bin, prox_semitones = 3)

Arguments

frame

the abs spectrum of a frame, as returned by fft

samplingRate

sampling rate (Hz)

pitch

pitch of this frame, Hz

bin

spectral frequency bin width, Hz

Details

Calculates Cepstral Peak Prominence from the spectrum of an STFT frame.

Value

Returns either NA or CPP in dB.


soundgen documentation built on Aug. 14, 2022, 5:05 p.m.