Lume
    Preparing search index...

    Function midiNoteToFrequency

    • Returns the frequency (in hertz) of a MIDI note value.

      Parameters

      • note: number

        The MIDI note to convert.

      • referenceTuning: number = 440

        The frequency used as a reference for tunings. Value must be the tuning for A4. Default is 440.

      Returns number

      If you don't know what a reference tuning is, it is recommended you keep it as the default.

      Argument note must be a valid MIDI note.