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

    Function HarmonicSeries

    • Builds a scale from a segment of the harmonic series. The tuning is octave-repeating JI whose pitch classes are the partials reduced to one octave; the scale climbs through the partials, so a segment wider than an octave (1–16) spans several octaves.

      Parameters

      • rootHz: number

        Frequency of the first partial in Hz (scale step 0).

      • fromHarmonic: number

        First partial (e.g. 8).

      • toHarmonic: number

        Last partial (e.g. 16).

      Returns Scale