Transitions between discrete and rhythmic primitives in a unimanual task