We will use the JMSL Score API to create a new Orchestra, add a MidiScoreInstrument
to it, and add some notes to a staff. We will use JavaSound Midi
to try this. This will *not* work in all browsers. You need
a Java 1.2+ plugin, and you need a soundbank (called soundbank.gm) properly
installed. The path to the soundbank should be PATH_TO_JAVA_PLUGIN/lib/audio/soundbank.gm.
You may have to make the "audio" directory manually and install the soundbank
manually. You can download a soundbank of your choice at http://java.sun.com/products/java-media/sound/soundbanks.html
Notes for Windows XP are here.
Source for this applet is
here
Previous | Tutorial Index | Tutorial Contents | Next |
(C) 2000 Nick Didkovsky and Phil Burk, All Rights Reserved JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.