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 Sept. 29, 2023, 5:09 p.m.