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

    Type Alias KeyName

    A key named the way a score names it: a spelled tonic and a mode.

    This is what a key name carries. It is deliberately not a key/scale: a name fixes the tonic's spelling and says major or minor, and nothing more.

    type KeyName = {
        tonic: NoteData;
        mode: "major" | "minor";
    }
    Index
    tonic: NoteData

    The spelled tonic, without an octave.

    mode: "major" | "minor"

    Which of the two modes the name gives.