periodToChar function

Get the note and octave from period table