AfterJSB.java
1    //Use 5 of the JSB minutes in Scomposer package to have 40 notes with a long C ending
2    package mmw;
3    
4    import composer.SComposer;
5    
6    public class AfterJSB {
7        public static void main(String[] args) {
8            SComposer Johann = new SComposer();
9            Johann.text();
10           System.out.println("JSB_M12:5 notes x 1 times = 5 notes");
11           Johann.mms_35_JSB_M12();
12           space(Johann);
13           System.out.println("JSB_M14:6 notes x 2 times = 12 + previous 5 = 17 notes");
14           Johann.mms_36_JSB_M14();
15           Johann.mms_36_JSB_M14();
16           space(Johann);
17           System.out.println("JSB_M9:5 notes x 2 time = 10 + previous 17 = 27 notes");
18           Johann.mms_35_JSB_M9();
19           Johann.mms_35_JSB_M9();
20           space(Johann);
21           System.out.println("JSB_M15:6 notes x 2 times = 12 + previous 27 = 39 notes");
22           Johann.mms_36_JSB_M15();
23           Johann.mms_36_JSB_M15();
24           space(Johann);
25           System.out.println("JSB_M1:1 note(long C), 1 time + previous 39 = 40 notes");
26           Johann.mms_31_JSB_M1();
27           space(Johann);
28           Johann.untext();
29       }
30   
31       private static void space(SComposer Johann) {
32           Johann.untext();
33           Johann.note().rest(2);
34           Johann.text();
35       }
36   }
37