hertzToSemitones

A function that can be used in Formulas.

Syntax and semantics

hertzToSemitones (x)
convert from an acoustic frequency x in Hz to a logarithmic musical scale relative to 100 Hz.

Definition

hertzToSemitones (x) = 12 ln (x / 100) / ln 2

Links to this page


© Paul Boersma 2023