get Stable Slope Mask
fun getStableSlopeMask(pitchesHz: FloatArray, hopMs: Int = 10, maxSlopeCentsPerSec: Float = 500.0f): BooleanArray
Get mask of frames with stable pitch slope.
Return
Boolean array where true = stable slope
Parameters
pitches Hz
Pitch values in Hz (-1 for unvoiced)
hop Ms
Hop size between frames in milliseconds
max Slope Cents Per Sec
Maximum allowed slope in cents/second