В моем репозитории посмотрите
Yannick_Set project grid size preserve grid type (normal, triplet, quintuplet, septuplet, dotted) in Popup Menu.lua
Yannick_Set project grid type (normal, triplet, quintuplet, septuplet, dotted) in Popup Menu.lua
Yannick_Set midi editor grid size preserve grid...