def place_notes_at(self, notes, at):
        """Place notes at the given index."""
        for x in self.bar:
            if x[0] == at:
                x[0][2] += notes
def place_notes_at ( self , notes , at ) : for x in self . bar : if x [ 0 ] == at : x [ 0 ] [ 2 ] += notes
Place notes at the given index.