getNoteIndex

returns index 0..11 of nearest note (0=A, 1=A#, 2=B, .. 11=G#)

int
getNoteIndex
(
double note
)

Meta