Expand description
Detect vibrato — a quasi-periodic modulation of the fundamental — from a pitch track, by locating the peak of the pitch-contour spectrum.
The track is converted to a cents deviation about its geometric-mean pitch,
Hann-windowed, and transformed with real_fft_magnitude. The strongest
bin inside the vibrato band (≈3–12 Hz) gives the rate; its interpolated
magnitude gives the extent (peak-to-peak, in cents); the fraction of contour
power it carries gives a strength in [0, 1].
Zero-heap: one caller scratch buffer holds the windowed cents signal and
the FFT work area; out_mags receives the contour magnitude spectrum.
Structs§
- Vibrato
- Vibrato descriptor for a pitch track.
Functions§
- detect_
vibrato - Detect vibrato in
tracksampled attrack_rate_hzframes/second. - vibrato_
scratch_ len - Minimum
scratchlength for a track oftrack_lensamples.