def _bury_indices(self, note: Note, index: tuple) -> None:
     (bar, beat) = index
     self._stored_indices.append([])
     for i in range(1, note.get_duration()):
         new_beat, new_bar = beat + (i / 2), bar
         while new_beat >= 4:
             new_beat -= 4
             new_bar += 1
         if (new_bar, new_beat) in self._counterpoint_obj:
             self._stored_indices[-1].append((new_bar, new_beat))
             del self._counterpoint_obj[(new_bar, new_beat)]
             self._all_indices.remove((new_bar, new_beat))
             self._remaining_indices.remove((new_bar, new_beat))
 def _check_for_on_beat_whole_note(self, note: Note, index: tuple) -> None:
     (bar, beat) = index
     if beat == 0 and note.get_duration() >= 8:
         self._attempt_params["num_on_beat_whole_notes_placed"] += 1