Add method to determine which bar the note is in.