• Parse a colon-separated string into an array of Interval instances. To enumerate a Scale as chord see enumerateChord.

    Parameters

    • input: string

      A colon-separated string of substrings to parse.

    • numberOfComponents: number

      Number of components to use for the Interval instances' monzo vector part.

    • separator: string | RegExp = ':'

      Separator to use when splitting the input.

    • Optional options: IntervalOptions

      Formatting options.

    Returns Interval[]

    An array of Interval instances constructed from the input string.

Generated using TypeDoc