strings {music} | R Documentation |
Separate notes into vector of strings
Description
Convenience function to separate notes into vector of strings
Usage
strings(x, sep = " ")
Arguments
x |
String: A single character object which consists of multiple notes separated by |
sep |
String: the character that separates notes in |
Details
Makes it easy to copy-paste notes into other functions
e.g. playChord(strings("C4 Eb4 G4 D5"))
Author(s)
E.D. Gennatas
Examples
strings("C4 Eb4 Gb4 Bb4")
[Package music version 0.1.2 Index]