cl-collider
cl-collider copied to clipboard
Reorder nodes
This is an awesome library, which is making me fall back in love with SuperCollider after a long break.
I've noticed that there doesn't seem to be a way to reorder nodes/groups in cl-collider.
It's fairly easy to add this, and I'd be happy to do this. I was thinking move-node, and something like the following structure: (defun move-group ( id to &key (server s) (pos :after) )
And that it would take the ids :after :before :head :tail
In addition I'd write it so that it works seemlessly with group, node objects as well as ids. Any objections to this approach?
Also, I use expRand all the time in SuperCollider so I wrote a little utility function for this. I could do a pull request for that as well if you have no objection to adding exp-rand as a new function?