getNotes | R Documentation |
Get notes (in scientific pitch notation) from frequencies. The note with the closest frequency is returned.
getNotes(frequencies, minOctave = 0, maxOctave = 8, option = "b")
frequencies |
numeric vector, frequencies in Hz |
minOctave |
integer, smallest (lowest-pitched) octave |
maxOctave |
integer, largest (highest-pitched) octave |
option |
character, use 'b' or '#' in note names? |
a character vector of notes
# example code
getNotes(seq(440,10000,100))
getNotes(seq(440,10000,100),maxOctave=10,option='#')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.