notesToHz | R Documentation |
Converts to Hz from musical notation like A4 - note A of the fourth octave above C0 (16.35 Hz).
notesToHz(n, A4 = 440)
n |
vector or matrix of notes |
A4 |
frequency of note A in the fourth octave (modern standard ISO 16 or concert pitch = 440 Hz) |
HzToNotes
HzToSemitones
notesToHz(c("A4", "D4", "A#2", "C0", "C-2"))
# Baroque tuning A415, half a semitone flat relative to concert pitch A440
notesToHz(c("A4", "D4", "A#2", "C0", "C-2"), A4 = 415)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.