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

    Type Alias HypermeterOptions

    Options for hypermeter.

    type HypermeterOptions = {
        totalBeats?: number;
        cadenceBeats?: readonly number[];
        budget?: number;
    }
    Index
    totalBeats?: number

    End of the analysed span in beats; defaults to the end of the last note.

    the end of the last note
    
    cadenceBeats?: readonly number[]

    Beats at which cadences arrive, as CadenceHit.atBeat reports them.

    A cadence is the clearest hypermetric evidence there is — it arrives at the end of a hyperbar — but finding one needs a chord timeline and a key, which this function is not given. Callers that already hold cadences should pass them; phrasesFromTimeline does.

    none
    
    budget?: number

    Upper bound on the work this call may do.