Companion

object Companion

Properties

Link copied to clipboard

Empty contour constant

Functions

Link copied to clipboard
fun fromArrays(times: FloatArray, pitches: FloatArray, sampleRate: Int = 16000): PitchContour

Create a PitchContour from parallel arrays (for migration from old API).

Link copied to clipboard
fun fromPitchData(data: PitchData, sampleRate: Int = 16000): PitchContour

Create a PitchContour from parsed PitchData.

Link copied to clipboard
fun fromPoints(points: List<PitchPoint>, sampleRate: Int = 16000): PitchContour

Create a PitchContour from a list of PitchPoints.