powered by
Calculates note distance in semitones
noteDistance(notes)
Vector of length length(notes) with semitone distances between successive notes
length(notes)
String, vector: Notes in form c("C4", "Eb4", "Gb4")
c("C4", "Eb4", "Gb4")
E.D. Gennatas
noteDistance(strings("C4 Eb4 Gb4 Bb4"))
Run the code above in your browser using DataLab