notesToHz {soundgen} | R Documentation |
Convert notes to Hz
Description
Converts to Hz from musical notation like A4 - note A of the fourth octave above C0 (16.35 Hz).
Usage
notesToHz(n, A4 = 440)
Arguments
n |
vector or matrix of notes |
A4 |
frequency of note A in the fourth octave (modern standard ISO 16 or concert pitch = 440 Hz) |
See Also
Examples
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)
[Package soundgen version 2.6.3 Index]