ThreeFigureMinuetThing.java
1    /* 
2     * Nine note line created by joining three JSB minuet figures. 
3     */
4    package mmw;
5    
6    import note.SNote;
7    
8    public class ThreeFigureMinuetThing {
9        public static void main(String[] args) {
10           SNote note = new SNote();
11           //show the text of the melodic
12           note.text();
13   
14           note.play();
15           note.lp();note.play();
16           note.lp(1);note.play();
17           //print the text of first 3 melodic sequences in separate line
18           System.out.println();
19   
20           note.rp(2);note.s2();note.play();
21           note.lp();note.play();
22           note.lp();note.play();
23           note.rp();note.play();
24           note.x2();note.rp();note.play();
25           //print the text of 5 melodic sequences in another line
26           System.out.println();
27   
28   
29           note.x3();note.play();
30           //print the text of the last melodic sequence in last line
31           System.out.println();
32   
33       }
34   }