ThreeFigureMinuetThing.java
1    package mmw;
2    import composer.SComposer;
3    import note.SNote;
4    
5    public class ThreeFigureMinuetThing {
6        public static void main(String[] args) {
7            // Thing we are trying to duplicate
8            System.out.println("The thing we are trying to duplicate: ");
9            SComposer sc = new SComposer();
10           sc.text();
11           sc.mms_33_JSB_M2();
12           sc.mms_35_JSB_M13();
13           sc.mms_31_JSB_M1();
14           sc.untext();
15           // The duplication
16           System.out.println("The duplication: ");
17           SNote note = new SNote();
18           note.text();
19           // (C,1)
20           note.play();
21           // (B,1)
22           note.lp();
23           note.play();
24           note.rp();
25           // (A,1)
26           note.lp(2);
27           note.play();
28           note.rp(2);
29           // (C,1/2)
30           note.s2();
31           note.play();
32           note.x2();
33           // (B,1/2)
34           note.lp();
35           note.s2();
36           note.play();
37           note.x2();
38           note.rp();
39           // (A,1/2)
40           note.lp(2);
41           note.s2();
42           note.play();
43           note.x2();
44           note.rp(2);
45           // (B,1/2)
46           note.lp();
47           note.s2();
48           note.play();
49           note.x2();
50           note.rp();
51           // (C,1)
52           note.text();
53           note.play();
54           // (C,3)
55           note.x3();
56           note.play();
57           note.s3();
58       }
59   }