ThreeFigureMinuetThing.java
1    /* 
2     * Nine note line created by joining three JSB minuet figures. 
3     */
4    
5    /*******************************************
6    Create a set of notes whose outcome is:
7    (C,1) \ (B,1) \ (A,1)
8    / (C,1/2) \ (B,1/2) \ (A,1/2) / (B,1/2) / (C,1)
9    (C,3)
10    ********************************************/
11   
12   package mmw;
13   import note.SNote;
14   
15   public class ThreeFigureMinuetThing {
16       public static void main(String[] args) {
17           SNote sc = new SNote();
18           sc.text();
19           sc.play(); // C,1
20           sc.lp();
21           sc.play(); // B,1
22           sc.lp();
23           sc.play(); // A,1
24           sc.rp(2);
25           sc.s2();
26           sc.play(); // C, 1/2
27           sc.lp();
28           sc.play(); // B, 1/2
29           sc.lp();
30           sc.play(); // A, 1/2
31           sc.rp();
32           sc.play(); // B, 1/2
33           sc.rp();
34           sc.x2();
35           sc.play(); // C,1
36           sc.x3();
37           sc.play(); // C,3
38   
39       }
40   }