| 1 |
// Listing 9.8 Initialize.ck file serves as the master program |
| 2 |
// initialize.ck manages classes and files |
| 3 |
|
| 4 |
// add public classes first |
| 5 |
Machine.add(me.dir()+"/BPM.ck"); // (1) Adds master BPM class definition |
| 6 |
|
| 7 |
// then add instruments, scores, etc. |
| 8 |
Machine.add(me.dir()+"/UseBPM.ck"); // (2) Adds test files UseBPM.ck |
| 9 |
Machine.add(me.dir()+"/UseBPM2.ck"); // and UseBPM2.ck |
| 10 |
|
| 11 |
// wait a bit, then add some more! |
| 12 |
4.0 :: second => now; // (3) Waits a bit and then adds score file |
| 13 |
Machine.add(me.dir()+"/myScore.ck"); |