[MWForum]playing musical chords in MW
Wendy Petti
mwforum@lists.mathcats.com
Mon, 18 Aug 2003 13:19:57 -0400
One of the questions we recently received on the MicroWorlds in Action site
has us partially stumped, so I wanted to ask all of you if you can
contribute any additional information:
* * *
from: "Craig" craig.yager@bvsd.k12.co.us
date: Wed, 16 Jul 2003 7:02:36 -0600
Is it possible to use the music function to play more than one note at a
time?
* * *
Daniel Ajoy sent this reply:
I think that by the "music function" you are talking about
the "note" primitive this is what MicroWorlds "help" says
about it:
> note number-or-list-of-numbers duration
>
> Plays a note using the current instrument. The first input
> is the MIDI note number and the second is the duration in
> tenths of a second. If the first input is a list of
> numbers, note plays a chord.
These are samples of chords
> note [72 76 79 84] 15
> note [60 63 67] 15
> note [45 49 54] 15
'Hope that helps
:)
Daniel
OpenWorld Learning
[Note from Wendy: Chords can be created in this fashion with MW Pro but
not with MW 2.0_.]
* * *
Craig asked this follow-up question and received another reply from
Daniel... and this is where we hope you can help us out:
> My question about the music function is actually coming from the keyboard
> that you can click on to get a string of notes... not the "note" command.
>
> However, it's good to hear how the note command can generate chords. Is
that
> also possible with the keyboard?
I don't know a way to play chords using the keyboard. Maybe is
time to ask the rest of the experts at the MWForum...
Daniel