[MWForum]Pick Question

Daniel Ajoy mwforum@lists.mathcats.com
Fri, 26 Apr 2002 17:13:34 -0500


"note" is the primitive you are looking for.

repeat 20 [note (69 + random 12) (5 + random 10)]

Daniel


On 26 Apr 2002 at 8:50, Gary McCallister wrote:

>      I would like to make a list that allows the computer to
> pick a tone from the 12 tone scale and also a time to hold
> the tone.  Can that be done.  In other words, I want to the
> computer pick a random note and hold it a random amount of
> time so I can generate a melody.  Any suggestions?
>