lmms already have that. You set the Q quantification and the note-type / note-length you prefer. So for you image with 1/4 notes and 1/4 rests, it would be Q & note-length = 1/4 This will restrict you from recording anything but 1/4 notes, and also assure a rest distance of 1/4 The result howeve...