powered by
Creates a new instance of a 'pitch' object
pitch(string)
An object of class 'pitch'.
character string comprising: (i) one letter in ABCDEFG (step) (ii) 'b' (flat), '#' (sharp) or '' (no alteration) (iii) one integer in 0:9 (octave).
p <- pitch('Db5')
Run the code above in your browser using DataLab