pitch {musicXML} | R Documentation |
Pitch constructor.
Description
Creates a new instance of a 'pitch' object
Usage
pitch(string)
Arguments
string |
character string comprising: (i) one letter in ABCDEFG (step) (ii) 'b' (flat), '#' (sharp) or ” (no alteration) (iii) one integer in 0:9 (octave). |
Value
An object of class 'pitch'.
Examples
p <- pitch('Db5')
[Package musicXML version 1.0.1 Index]