formatNotation | R Documentation |
Converts the internal note representation which uses only flats, to the notation
commonly used to write scales and chords, where a mix of sharps and flats is used to avoid
repeating the same letter note. (e.g. "G#5" "A5"
, instead of "Ab5" "A5"
)
e.g. convert the C4 Lydian from:
"C4" "D4" "E4" "Gb4" "G4" "A4" "B4" "C5"
to:
"C4" "D4" "E4" "F#4" "G4" "A4" "B4" "C5"
or convert the A4 major from:
"A4" "B4" "Db5" "D5" "E5" "Gb5" "Ab5" "A5"
to:
"A4" "B4" "C#5" "D5" "E5" "F#5" "G#5" "A5"
formatNotation(notes)
notes |
String, vector: Notes to format |
E.D. Gennatas
formatNotation(c("Db4", "D4", "E4", "Gb4", "G4", "A4", "B4", "C5"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.