pt2_note_to_period function

Get a corresponding period value from a note string