MinuetFigureListener.java
1    /* 
2    *Program to check out (view and possibly listen to) the fifteen melodic 
3    * sequence classified as "Bach" sequences in the Modular Melody World 
4     */
5    package mmw;
6    
7    import composer.SComposer;
8    
9    public class MinuetFigureListener {
10       public static void main(String[] args) {
11           SComposer Bach = new SComposer();
12           Bach.text();
13           System.out.println("Bach.mms_31_JSB_M1 ..."); Bach.mms_31_JSB_M1(); space(Bach);
14           System.out.println("Bach.mms_33_JSB_M2 ..."); Bach.mms_33_JSB_M2(); space(Bach);
15           System.out.println("Bach.mms_33_JSB_M3 ..."); Bach.mms_33_JSB_M3(); space(Bach);
16           System.out.println("Bach.mms_33_JSB_M4 ..."); Bach.mms_33_JSB_M4(); space(Bach);
17           System.out.println("Bach.mms_33_JSB_M5 ..."); Bach.mms_33_JSB_M5(); space(Bach);
18           System.out.println("Bach.mms_34_JSB_M6 ..."); Bach.mms_34_JSB_M6(); space(Bach);
19           System.out.println("Bach.mms_34_JSB_M7 ..."); Bach.mms_34_JSB_M7(); space(Bach);
20           System.out.println("Bach.mms_34_JSB_M8 ..."); Bach.mms_34_JSB_M8(); space(Bach);
21           System.out.println("Bach.mms_35_JSB_M9 ..."); Bach.mms_35_JSB_M9(); space(Bach);
22           System.out.println("Bach.mms_35_JSB_M10 ..."); Bach.mms_35_JSB_M10(); space(Bach);
23           System.out.println("Bach.mms_35_JSB_M11 ..."); Bach.mms_35_JSB_M11(); space(Bach);
24           System.out.println("Bach.mms_35_JSB_M12 ..."); Bach.mms_35_JSB_M12(); space(Bach);
25           System.out.println("Bach.mms_35_JSB_M13 ..."); Bach.mms_35_JSB_M13(); space(Bach);
26           System.out.println("Bach.mms_36_JSB_M14 ..."); Bach.mms_36_JSB_M14(); space(Bach);
27           System.out.println("Bach.mms_36_JSB_M15 ..."); Bach.mms_36_JSB_M15(); space(Bach);
28       }
29   
30       private static void space(SComposer Bach) {
31           Bach.untext(); Bach.note().rest(2); Bach.text();
32   
33       }
34   }
35