Skip to main content

transcribe_stem

Function transcribe_stem 

Source
pub fn transcribe_stem(
    transcriber: &Transcriber,
    mono: &[f64],
    rate: SampleRate,
    bpm: Bpm,
    profile: Option<Profile>,
) -> Result<Transcription, NotesError>
Expand description

Runs the notes step on a mono stem at any rate: one model run, one f0 track, detection, the decode with the detected settings or those of profile, and clean_up.

ยงErrors

Returns a NotesError when the model run, a decode or the f0 track fails.