pysptk.sptk.swipe¶
-
pysptk.sptk.
swipe
()¶ SWIPE’ - A Saw-tooth Waveform Inspired Pitch Estimation
Parameters: - x : array, shape
A whole audio signal
- fs : int
Sampling frequency.
- hopsize : int
Hop size.
- min : float
Minimum fundamental frequency. Default is 50.0
- max : float
Maximum fundamental frequency. Default is 800.0
- threshold : float
Voice/unvoiced threshold. Default is 0.3.
- otype : int (default=1)
Output format (0) pitch (1) f0 (2) log(f0).
Returns: - f0 : array, shape(len(x)/frame_shift+1)
Estimated f0 trajectory
Raises: - ValueError
if invalid otype is specified