Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

Subject: Pick Question
From: mwforum@xxxxxxxxxxxxxxxxxx (Ray Catzel)
Date: 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@xxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxx]On Behalf Of Daniel Ajoy
Sent: Friday, April 26, 2002 6:14 PM
To: mwforum@xxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxx
http://mia.openworldlearning.org/mwforum/



  • Previous by thread: Pick Question
  • Next by thread: Neural Nets

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008