JMSL Tutorial: Collections

Here we show an applet with two MusicJobs in a ParallelCollection.
 
      myParallelCollection
    __________|____________
    |                     |
 MusicJob              MusicJob


The essential code follows:

...
myParallelCollection.add(mj1);
myParallelCollection.add(mj2);
...
myParallelCollection.launch(JMSL.now());
 

Each MusicJob has a printing start and stop Playable so you can trace their activity.

You need a Java-enabled browser to view this applet.

Here is the complete source code for this applet.
 
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.