Re: [squeak-dev] [ANN] High-Level Musical Concepts in µO
Stéphane Rollandin
lecteur at zogotounga.net
Tue May 14 11:44:46 UTC 2013
> For someone who wants to follow along and try your code, is there a simple way to hear it?
If you install the latest muO (or download the muo286 image provided at
http://www.zogotounga.net/comp/squeak/sqgeo.htm) then the code from the
paper appears as a test case in
MuODocumentationTest>>#testPurdieVariation
You can copy/paste it in a workspace and work with it.
To hear the eventual phrase, do "phrase play". The default synthesizer
is the first MIDI out port listed by your system (on Windows it is the
Microsoft MIDI mapper), so you should get some sound.
If for some reason the default MIDI port does not work you can choose
another one via the "muO objects" menu (yellow click in the World) from
the "+synthesizers" -> "default synthesizer" -> "MIDI out port" submenu.
You can also use a Squeak synthesizer:
(SqueakSynthesizer new instrument: FMSound clarinet)
playPhrase: phrase softer fermata
but here I have had to reduce both notes length and amplitudes in order
to get a clear sound, hence the "softer fermata" part.
Stef
More information about the Squeak-dev
mailing list
|