This applet is strict in that it avoid any JSyn calls directly. It instantiates a SineInstrument, gets its MusicDevice, pops open an editor to test the device, opens the device, and proceeds. Applet.stop calls JMSL.closeMusicDevices() . If you follow this slightly more verbose technique, you will be writing code that is flexible and absorbs your future ideas and changes gracefully.
Check the source for this Applet here. There's some algorithmic tools in the MusicShape building loop that you may not have seen before, like a 1/F generator and Gaussian distribution..
|Previous||Tutorial Index||Tutorial Contents||Next|
(C) 2003 Nick Didkovsky, All Rights Reserved JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.