[PD] To divide a number in random parts

Mathieu Bouchard matju at artengine.ca
Fri Mar 4 15:58:46 CET 2011

On Fri, 4 Mar 2011, Bastiaan van den Berg wrote:

> What about this method (actually only works for uneven number of chords, 
> so maybe drop one, or increase to 11 and drop one later( randomly? ))
> Just pick a random float between 0 and 48, we'll call that X1
> Then pick a random float between 0 and X1 , and between X1 and 48, call those Y1 and Y2
> Then do it another 8 times and you have 11 random positions within your range of 0 till 48 ;)

If you make this a uniform random pick, this will make it very likely that 
half of the chords are very short, and this will introduce intense 
correlations between chord durations, as the first half of the sequence 
will have a common random factor in selecting their duration, and in the 
same manner for all subpacks of chords in there (second half, 1st quarter, 
2nd quarter, 3rd quarter, 4th quarter, 1st eighth, ...)

> Not sure if it will actually work out, but I just had this brainfart 
> after seeing this thread go on so long :)

The thread could go on much longer. It's a tricky topic, especially after 
one has found out the additional requirements that were not specified at 
first (how should the likelihood be spread over the possible outcomes).

| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

More information about the Pd-list mailing list