if you want to get in the weeds, you could write a Max patch to do that pretty easily, and it has a free trial. Maybe too much of a learning curve but if you're looking to write it yourself I'd give it a look.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments