@libraz/libcantus - v0.9.3
    Preparing search index...

    Type Alias RhythmEvent

    A single rhythmic note: an onset position and how long it sounds.

    type RhythmEvent = {
        position: number;
        duration: number;
    }
    Index
    position: number

    Onset position in quarter-note beats, absolute from the start of the span.

    duration: number

    Duration in quarter-note beats, extending to the next onset.