note2freq | R Documentation |
Convert notes to frequencies
note2freq( note, tuning = c("12ET", "custom"), custom.ratios = c(1, 16/15, 9/8, 6/5, 5/4, 4/3, 45/32, 3/2, 8/5, 5/3, 9/5, 15/8, 2), A4 = 440, custom.root = "C", default.octave = 4 )
note |
String: Note(s) to convert to frequencies |
tuning |
String: "12ET": 12-note equal temperament, "custom": Intonation defined by |
custom.ratios |
Numeric, vector, length 13: Custom ratios for a 12-note scale, starting with 1 (root)
and ending in 2 (octave) to use when |
A4 |
Float: Frequency for A4 in Hz. Default = 440 |
custom.root |
String: Root note for just intonation ( |
default.octave |
Integer: If |
E.D. Gennatas
note2freq(buildScale("B4", "minor"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.