Universal Music Theory Library - v0.12.0
    Preparing search index...

    Interface ModalKey

    A modal key: a root note, a mode name, and the parent major key that the mode is derived from. For example, D dorian is derived from C major (D is the 2nd degree of C major).

    interface ModalKey {
        mode: string;
        parentMajorKey: string;
        root: string;
    }
    Index

    Properties

    mode: string

    Mode name in lower case: 'dorian'.

    parentMajorKey: string

    Major key the mode belongs to ('C' for D dorian); empty when the mode is not one of the seven diatonic modes.

    root: string

    Root of the mode, as passed in: 'D'.