v5.0.0
    Preparing search index...

    Interface TextNoteStruct

    interface TextNoteStruct {
        alignCenter?: boolean;
        dots?: number;
        duration: string;
        durationOverride?: Fraction;
        font?: FontInfo;
        glyph?: string;
        ignoreTicks?: boolean;
        keys?: string[];
        line?: number;
        smooth?: boolean;
        subscript?: string;
        superscript?: string;
        text?: string;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alignCenter?: boolean
    dots?: number

    The number of dots, which affects the duration.

    duration: string

    The time length (e.g., q for quarter, h for half, 8 for eighth etc.).

    durationOverride?: Fraction
    font?: FontInfo
    glyph?: string
    ignoreTicks?: boolean
    keys?: string[]

    Array of pitches, e.g: ['c/4', 'e/4', 'g/4']

    line?: number
    smooth?: boolean
    subscript?: string
    superscript?: string
    text?: string
    type?: string

    The note type (e.g., r for rest, s for slash notes, etc.).