myMusicShape.setInstrument(new PrintingInstrument());The results are shown in the applet below. Note that the duration of each is the first element in the array.
View the complete source for this applet
here.
Previous | Tutorial Index | Tutorial Contents | Next |
(C) 1997 Phil Burk and Nick Didkovsky, All Rights Reserved JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.