powered by
Convenience function to separate notes into vector of strings
strings(x, sep = " ")
String: A single character object which consists of multiple notes separated by sep e.g. "C4 Eb4 G4 D5"
sep
"C4 Eb4 G4 D5"
String: the character that separates notes in x. Default = " "
x
E.D. Gennatas
Makes it easy to copy-paste notes into other functions e.g. playChord(strings("C4 Eb4 G4 D5"))
playChord(strings("C4 Eb4 G4 D5"))
strings("C4 Eb4 Gb4 Bb4")
Run the code above in your browser using DataLab