OpenSheetMusicDisplay
    Preparing search index...

    Class NoteTypeHandler

    Index
    NoteTypeXmlValues: string[] = ...
    • How many quarter notes a metronome beat unit lasts, used to convert a metronome mark's per-minute value (which is relative to its beat unit) into quarter notes per minute for playback. E.g. "half" -> 2, "quarter" -> 1, "eighth" -> 0.5. A dot adds half of the beat unit's length and each further dot half of what the dot before it adds, e.g. 1.5 for a dotted quarter and 1.75 for a double-dotted one. Falls back to a quarter note (with its dots) for an unknown/missing beat unit so playback tempo stays sane.

      Parameters

      • beatUnit: string
      • dots: number = 0

      Returns number