I made a little metro patch for creating swing timing to drive a sequence. I cobbled something together but I'm unsure as to whether its the cleanest/easiest/most foolhardy way to do this....

COuld someone tell me if this is the way to do it in Pd?

many thanks

http://www.pdpatchrepo.info/hurleur/shuffle.pd