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

    Type Alias MelodyOptions

    Options controlling generateMelody.

    type MelodyOptions = {
        ctx?: GenerationContextInput;
        budget?: number;
    }
    Index

    The generation context. Its seed and algorithmVersion take precedence over the plan's; whatever it leaves out is read from the plan. A supplied rng is rejected: every onset and tie-break is drawn at an address of phrase and beat under a seed, which a caller-held source cannot provide.

    the plan's seed and algorithm version
    
    budget?: number

    Upper bound on the onset grid and on the pitch search.