formatNote {music} | R Documentation |
Format notes
Description
Format notes for use in other music functions
Usage
formatNote(notes, default.octave = 4)
Arguments
notes |
Vector, String: Input notes in the form |
default.octave |
Integer: Octave to use if missing in |
Details
Converts sharps to flats, adds octave number if missing (Default = 4), and converts (rare) "bb" notes to regular notes
Author(s)
E.D. Gennatas
Examples
formatNote(c("D#4", "Ebb"))
[Package music version 0.1.2 Index]