@libraz/libcantus - v0.9.3
    Preparing search index...

    Function edo

    • Build an equal temperament with n divisions of the octave.

      Parameters

      • n: number

        Divisions of the octave (e.g. 19, 24, 31).

      • refFreq: number = 440

        Reference frequency in Hz (default 440).

      • refStep: number = 69

        Step index of the reference (default 69).

      Returns Tuning

      The tuning.

      import { edo, frequencyOf } from '@libraz/libcantus';
      const et19 = edo(19); // { refStep: 69, refFreq: 440, divisions: 19 }
      frequencyOf(70, et19); // one 19-EDO step above A4