Skip to content

MIDI to Frequency

Description

Converts MIDI note values to Frequency values in Hz.

(midi-to-freq ... )

Syntax and Default Values

The (midi-to-freq ... ) function can be created using the following Lisp syntax:

(midi-to-freq value)

Parameters

The (midi-to-freq ... ) function takes one argument:

  • value: a numerical value to convert from a MIDI note value to Frequency in Hertz

The numerical value can be either an integer or a floating-point number.

Discussion

The (midi-to-freq ... ) function is a handy built-in tool to convert from MIDI note values (linear octaves, log frequency) to Frequency values in Hertz.

Options

There are no special options for this function.