Fix sample period
Implement repeat mode `BK_PALINDROME`
Do not reset arpeggio when setting new note

Instead, reset it only when note was released before