Couldn’t you use the arpeggiator to do this? Then you can also adjust the gate length.