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

    Type Alias ScoreData

    The plain form a Score hands out and is rebuilt from.

    type ScoreData = {
        notes: NoteEvent[];
        meters: MeterMap;
        tempo: TempoMap;
        key?: KeyData;
    }
    Index
    notes: NoteEvent[]
    meters: MeterMap
    tempo: TempoMap
    key?: KeyData

    The key the notes are read in, when one was given. Absent on a score whose key is left to be inferred, so the two states survive a round trip: a score that carries no key is not one that carries C major.