Hiyve Components - v1.0.0
    Preparing search index...

    Interface ScaleDegreeCard

    A note in a named key with its degree to choose — or a degree of a named key with its note to find, in any octave.

    interface ScaleDegreeCard {
        answer: string;
        choices?: string[];
        clef: Clef;
        degree: number;
        fifths: number;
        findOn: "keyboard" | "staff";
        highestPosition: number;
        key: string;
        keyboardHighestMidi: number;
        keyboardLowestMidi: number;
        kind: "scaleDegree";
        lowestPosition: number;
        mode: ScaleDegreeMode;
        note: Pitch;
        numbersOnly?: true;
    }
    Index

    Properties

    answer: string

    name: the degree ('5'); find: the note's name in the key ('F♯')

    choices?: string[]

    name: the degrees to choose from, as numbers ('1', '5'), lowest first. Absent for find, which has nothing to choose from

    clef: Clef
    degree: number

    The degree asked about, 1 (the tonic) to 7

    fifths: number

    The key's signature, as sharps (positive) or flats (negative); the staff shows it and its notes take it

    findOn: "keyboard" | "staff"

    find: tapped on the keyboard or placed on the staff

    highestPosition: number
    key: string

    The key, as a 'G:major' code

    keyboardHighestMidi: number
    keyboardLowestMidi: number
    kind: "scaleDegree"
    lowestPosition: number

    find on the staff: the lowest and highest a note can be placed, as staff positions (see staffPosition)

    note: Pitch

    The note of that degree: shown on the staff to name (name), or one octave of the note to find (find)

    numbersOnly?: true

    Asked by number alone, in the scale from the key's first note: no key, tonic or dominant named. Absent otherwise