There is a minor issue with the argument `clip_note_off`, and the notes off of a slice that go beyond `end_time` are not clipped.