synthesize From Pitch File
fun synthesizeFromPitchFile(pitchFilePath: String, outputPath: String, lessonTonicHz: Float, parentTonicHz: Float = lessonTonicHz): Boolean
Synthesize audio from a pitch contour file.
The pitch file format is whitespace-separated with columns: startTime(sec) endTime(sec) frequencyHz
Timing in the pitch file is in seconds and will be converted to absolute millisecond positions in the output audio.
Return
true if synthesis was successful
Parameters
pitch File Path
Path to pitch contour file
output Path
Path for output WAV file
lesson Tonic Hz
Tonic frequency of the lesson
parent Tonic Hz
Reference tonic frequency for transposition (defaults to lessonTonicHz)