nnsvs.pitch.extract_vibrato_parameters
- nnsvs.pitch.extract_vibrato_parameters(pitch, vibrato_likelihood, sr=100, threshold=0.12, min_cross_count=5, min_extent=30, max_extent=150, interp_params=True, smooth_params=False, smooth_width=15, clip_extent=True)[source]
Extract vibrato parameters
- Parameters:
pitch (np.ndarray) – array of pitch (smoothed f0)
vibrato_likelihood (np.ndarray) – array of vibrato likelihood
sr (int) – sampling rate
threshold (float) – threshold of vibrato likelihood
min_cross_count (int) – minimum number of cross points
min_extent (int) – minimum extent of vibrato (cent)
max_extent (int) – maximum extent of vibrato (cent)
interp_params (bool) – whether to interpolate vibrato parameters
smooth_params (bool) – whether to smooth vibrato parameters
smooth_width (int) – width of smoothing window
clip_extent (bool) – whether to clip extent
- Returns:
tuple of vibrato parameters
- Return type: