Frequency unit conversion#

hz_to_note

Convert one or more frequencies (in Hz) to the nearest note names.

hz_to_midi

Get MIDI note number(s) for given frequencies

hz_to_svara_h

Convert frequencies (in Hz) to Hindustani svara

hz_to_svara_c

Convert frequencies (in Hz) to Carnatic svara

hz_to_fjs

Convert one or more frequencies (in Hz) from a just intonation scale to notes in FJS notation.

midi_to_hz

Get the frequency (Hz) of MIDI note(s)

midi_to_note

Convert one or more MIDI numbers to note strings.

midi_to_svara_h

Convert MIDI numbers to Hindustani svara

midi_to_svara_c

Convert MIDI numbers to Carnatic svara within a given melakarta raga

note_to_hz

Convert one or more note names to frequency (Hz)

note_to_midi

Convert one or more spelled notes to MIDI number(s).

note_to_svara_h

Convert western notes to Hindustani svara

note_to_svara_c

Convert western notes to Carnatic svara

hz_to_mel

Convert Hz to Mels

hz_to_octs

Convert frequencies (Hz) to (fractional) octave numbers.

mel_to_hz

Convert mel bin numbers to frequencies

octs_to_hz

Convert octaves numbers to frequencies.

A4_to_tuning

Convert a reference pitch frequency (e.g., A4=435) to a tuning estimation, in fractions of a bin per octave.

tuning_to_A4

Convert a tuning deviation (from 0) to a reference pitch frequency relative to A440.