improve beat/tick code, emit more beat divisions