Deriving notes from given (fundamental) frequencies.
noteFromFF(x, diapason = 440, roundshift = 0)
Frequency of diapason a, default is 440 (Hertz).
Shift that indicates from here to round to the next integer (note).
The default (0) is “classical” rounding as described in
The formula used is simply
round(12 * log(x / diapason, 2) + roundshift).
An integer representing the (rounded) difference in halftones from diapason a,
i.e. indicating the note that corresponds to fundamental frequency
x given the value of
For example: 0 indicates diapason a, 3: c', 12: a', ...
Uwe Ligges [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.