fixed bug where repeating notes get clipped