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.
Here is the complete source code for this
example.
And here's the example in action:
(C) Phil Burk and Nick Didkovsky, All Rights Reserved JMSL is based upon HMSL (C) Phil Burk, Larry Polansky and David Rosenboom.