Interface MosWithParentOptions

Parameters for the mosWithParent function.

interface MosWithParentOptions {
    accidentals?: "flat" | "sharp";
    down?: number;
    sizeOfLargeStep?: number;
    sizeOfSmallStep?: number;
    up?: number;
}

Hierarchy (view full)

Properties

accidentals?: "flat" | "sharp"

How the main scale relates to the parent. Defaults to 'sharp'.

down?: number

How many bright generators to go downwards. Also the number of small/minor intervals in the resulting scale. Default = 0.

sizeOfLargeStep?: number

Size of the large step. Default = 2.

sizeOfSmallStep?: number

Size of small step. Default = 1.

up?: number

How many bright generators to go upwards. Also the number of large/major intervals in the resulting scale. Defaults to the maximum possible.