Skip to main content

record_note

Function record_note 

Source
pub fn record_note(
    lines: &[String],
    stage: Stage,
    divisions: FloatType,
    previous: Option<Option<TieType>>,
) -> Result<(StreamElement, Vec<Dynamic>, Option<TieType>)>
Expand description

music21’s _musedataRecordListToNoteOrChord, over the lines of the records: a note, or a chord of several, at divisions to the quarter, with the dynamics the first record carries and the tie it leaves. previous is the tie of the note before, where there is a note before.

§Errors

No records, a pitch or a length that cannot be read.