<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sorry for the lack of comments. It&#39;s kind of a brute-force method;<br>
maybe I&#39;ll go through and document it at some point, but I just threw<br>
it together today to show the concept. A couple of things: if your max<br>
and min durations are restrictive you get an awful lot of values at </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">the max and min (whereas you might want to randomize the corrected<br>


outliers within a certain range so that you get values that hover a<br>
certain random amount above the min or below the max).<br></blockquote><div><br>I noticed that.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br>
Also, the total number of beats should be quantized to the nearest<br>
subdivision but I didn&#39;t worry about that. I guess it&#39;s the user&#39;s<br>
responsibility.<br>
<br></blockquote><div><br>I&#39;m not shure if I understood that. You mean that if I set the &quot;nuber of subdivisions per beat&quot; as 10 I can&#39;t set the number of beats to, say 8,255?<br>As far as user&#39;s responsibility goes, it doesn&#39;t make sense to input negative numbers, yet it is possible.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Not sure about the go button, seems to work here. At some point you<br>
might wish to add a seed for the random if you don&#39;t want things to<br>
repeat from the last time you opened the patch.<br></blockquote><div><br>Maybe I&#39;m restricting the paramethers too much so the program doesn&#39;t have many options. Hence the repetitions of results. I don&#39;t know. <br>

</div><div><br>Anyway, nice work. I didn&#39;t work yet with all those list objects, so I need to learn them a bit.<br>Also, for my purposes I&#39;m thinking of implementing two other tools to this soon-to-be abstraction:<br>

- The first one is a bang generator that outputs a bang at random time intervals (with max and min defined by the user)  running together with a chronometer. So it outputs the exact time of the bangs. Maybe it could output two times: the overall duration since the chronometer started and the interval between tha bang and the last one, very easy to do.<br>
- The second one is a table that give the duration of musical notes when the user inputs the tempo. That&#39;s something that I saw once as an MS Excell spreadsheet that the spanish composer Jose Manuel Lopez Lopez had and is soooo useful. I remember that it even had many tempos side by side so the composer could know when the triplet in tempo x is equal to sixteenth in tempo y, à la elliott carter. I also have a friend that wanted to do that, maybe we can team up.<br>
</div></div>