nnsvs.pitch.nonzero_segments

nnsvs.pitch.nonzero_segments(f0)[source]

Find nonzero segments

Parameters:

f0 (np.ndarray) – array of f0

Returns:

list of (start, end)

Return type:

list