Learn R Programming

soundgen (version 2.7.0)

getCPP: Get Cepstral Peak Prominence

Description

Internal soundgen function.

Usage

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

Value

Returns either NA or CPP in dB.

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.