Until now tim&#39;s solution seems best for me, I&#39;ll try to build the patch these days.<br>You know what would be really nice? If it were possible for the computer to translate the durations into musical rhythms (in lilypond or musicXML for instance). The user input the total duration, the number of divisions, the minimum and maximum duration of each sub-section and maybe a tempo and the computer outputs rhythmic figures. To make things even nicer but a lot harder, the user could for instance choose between different degrees of approximations in the rhythmic output so the result would be easier to read / less precise or harder to read / more precise.<br>
Here I go again trying to transform Pd into OpenMusic.<br><br>And by the way (a little off-topic now): Mathieu, I recently compilated GridFlow and tried the [note] object you did. Humm! What a nice object.<br>I still would prefer that the output would be the midi note and the slide to go chromatically because at least for me is so much easier for the calculations, but kudos to you.<br>
<br><br><div class="gmail_quote">2011/3/4 Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, 4 Mar 2011, Bastiaan van den Berg wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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? ))<br>
<br>
Just pick a random float between 0 and 48, we&#39;ll call that X1<br>
Then pick a random float between 0 and X1 , and between X1 and 48, call those Y1 and Y2<br>
Then do it another 8 times and you have 11 random positions within your range of 0 till 48 ;)<br>
</blockquote>
<br></div>
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, ...)<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Not sure if it will actually work out, but I just had this brainfart after seeing this thread go on so long :)<br>
</blockquote>
<br></div>
The thread could go on much longer. It&#39;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).<div>
<div></div><div class="h5"><br>
<br>
 _______________________________________________________________________<br>
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC<br>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>