[MWForum]Pick Question

Ray Catzel mwforum@lists.mathcats.com
Fri, 26 Apr 2002 21:28:35 -0400


You can also set the instrument:
repeat 20 [setinstrument random 100 note (69 + random 12) (5 + random 10)]
regards
ray

-----Original Message-----
From: mwforum-admin@lists.mathcats.com
[mailto:mwforum-admin@lists.mathcats.com]On Behalf Of Daniel Ajoy
Sent: Friday, April 26, 2002 6:14 PM
To: mwforum@lists.mathcats.com
Subject: Re: [MWForum]Pick Question


"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?
> 




_______________________________________________
MWForum mailing list
MWForum@lists.mathcats.com
http://lists.mathcats.com/mailman/listinfo/mwforum