getFrequencies {sequenceR} | R Documentation |
Notes-to-frequencies function
Description
Get frequencies from note names (in scientific pitch notation).
Usage
getFrequencies(notes, minOctave = 0, maxOctave = 8)
Arguments
notes |
Character vector, note names. |
minOctave |
integer, smallest (lowest-pitched) octave |
maxOctave |
integer, largest (highest-pitched) octave |
Value
a numeric vector of frequencies (in Hz)
Examples
# example code
getFrequencies(c('A3','A4','A5','C#6','Db6','A9','X0'))
getFrequencies(c('A3','A4','A5','C#6','Db6','A9','X0'),maxOctave=9)
[Package sequenceR version 1.0.1 Index]