@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias SpellLineOptions

    Options for spellLine.

    type SpellLineOptions = {
        tonic?: NoteLike;
        budget?: number;
    }
    Index
    tonic?: NoteLike

    Tonic spelling to anchor the key, for a caller that already knows how the piece is written. It must sound the key's own root pitch class; anything else is rejected rather than spelled. Defaults to the conventional spelling the key itself is written with. Accepted as a note name, a MIDI number, note data, or a Note.

    budget?: number

    Upper bound on the work the line may cost; defaults to the generation budget.