Random number generator with constant sum
Hi!
I'm working on a patch to randomly generate amplitude values for a 30 channel MC granulator I made.
The idea is that all of the amplitude values generated would add up to 1, but they could be randomly generated/distributed to automatically mix foreground/background sound among the 30 channels.
N random values with constant sum C. In this case, 30 random values with constant sum 1.
This is hard! I'm in a little over my head. I started in mc.gen but had trouble conceptualizing how the patch should flow. After some trial and lots of error I'm seeking some help.
Any ideas on this?
Thanks,
Jim
Why not the vanilla approach?
