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

    Type Alias RelatedKey

    A key related to a reference key, with its relationship type and circle-of-fifths distance.

    type RelatedKey = {
        distance: number;
        key: string;
        relationship:
            | "relative"
            | "parallel"
            | "dominant"
            | "subdominant"
            | "neighbor";
    }
    Index

    Properties

    distance: number

    Steps on the circle of fifths: 0 relative and parallel, 1 dominant and subdominant, 2 neighbors.

    key: string

    The related key, in the circle's notation: major upper case ('G'), minor lower case ('e').

    relationship: "relative" | "parallel" | "dominant" | "subdominant" | "neighbor"

    How it relates to the reference key; 'neighbor' is two steps away on the circle.