web-music-score
    Preparing search index...

    Type Alias TupletBuilder

    Tuplet builder type.

    type TupletBuilder = {
        addChord: (
            notes: (Note | string)[],
            noteLength: NoteLength | NoteLengthStr,
            noteOptions?: NoteOptions,
        ) => TupletBuilder;
        addNote: (
            note: Note | string | (Note | string)[],
            noteLength: NoteLength | NoteLengthStr,
            noteOptions?: NoteOptions,
        ) => TupletBuilder;
        addRest: (
            restLength: NoteLength | NoteLengthStr,
            restOptions?: RestOptions,
        ) => TupletBuilder;
    }
    Index

    Properties

    addChord: (
        notes: (Note | string)[],
        noteLength: NoteLength | NoteLengthStr,
        noteOptions?: NoteOptions,
    ) => TupletBuilder

    Add chord to a tuplet.

    Type Declaration

    addNote: (
        note: Note | string | (Note | string)[],
        noteLength: NoteLength | NoteLengthStr,
        noteOptions?: NoteOptions,
    ) => TupletBuilder

    Add note to a tuplet.

    Type Declaration

    addRest: (
        restLength: NoteLength | NoteLengthStr,
        restOptions?: RestOptions,
    ) => TupletBuilder

    Add rest to a tuplet.

    Type Declaration