Hiyve Components - v1.0.0
    Preparing search index...

    One sounding note of a score — what the performer is expected to play.

    interface ScoreNote {
        alter: number;
        beat: number;
        durationMs: number;
        durationQuarters: number;
        id: string;
        isChordMember: boolean;
        isGrace: boolean;
        measure: number;
        midi: number;
        octave: number;
        onsetMs: number;
        onsetQuarters: number;
        partId: string;
        staff?: number;
        step: string;
        voice: string;
        writtenMidi: number;
    }
    Index

    Properties

    alter: number
    beat: number

    1-based position within the measure, in time-signature beats (fractional)

    durationMs: number

    Length at the score's own tempo, in milliseconds

    durationQuarters: number

    Sounding length in quarter notes; tied notes are merged into one

    id: string

    Stable id: <part id>:<index within part>

    isChordMember: boolean

    Another note of the same part starts at the same moment

    isGrace: boolean

    A grace note: no duration of its own

    measure: number

    1-based measure number as written in the file

    midi: number

    Sounding pitch as a MIDI note number

    octave: number
    onsetMs: number

    Onset at the score's own tempo, in milliseconds

    onsetQuarters: number

    Onset from the start of the score, in quarter notes

    partId: string
    staff?: number

    Staff within the part, when the file gives one

    step: string
    voice: string

    MusicXML voice, '1' when the file gives none

    writtenMidi: number

    Written pitch as a MIDI note number (before transposition)