MinuetFigureListener.java
|
1 /*
2 * Program to checkout (view and possibly listen to) Bach's Minuets
3 * in the Modular Melody World
4 */
5
6 package mmw;
7
8 import composer.SComposer;
9
10 import java.beans.beancontext.BeanContext;
11
12 public class MinuetFigureListener {
13
14 public static void main(String[] args) {
15 SComposer Bach = new SComposer();
16
17 Bach.text();
18
19 System.out.println("Bach.mms_31_JSB_M1"); Bach.mms_31_JSB_M1(); space(Bach);
20 System.out.println("Bach.mms_33_JSB_M2"); Bach.mms_33_JSB_M2(); space(Bach);
21 System.out.println("Bach.mms_33_JSB_M3"); Bach.mms_33_JSB_M3(); space(Bach);
22 System.out.println("Bach.mms_33_JSB_M4"); Bach.mms_33_JSB_M4(); space(Bach);
23 System.out.println("Bach.mms_33_JSB_M5"); Bach.mms_33_JSB_M5(); space(Bach);
24 System.out.println("Bach.mms_34_JSB_M6"); Bach.mms_34_JSB_M6(); space(Bach);
25 System.out.println("Bach.mms_34_JSB_M7"); Bach.mms_34_JSB_M7(); space(Bach);
26 System.out.println("Bach.mms_34_JSB_M8"); Bach.mms_34_JSB_M8(); space(Bach);
27 System.out.println("Bach.mms_35_JSB_M9"); Bach.mms_35_JSB_M9(); space(Bach);
28 System.out.println("Bach.mms_35_JSB_M10"); Bach.mms_35_JSB_M10(); space(Bach);
29 System.out.println("Bach.mms_35_JSB_M11"); Bach.mms_35_JSB_M11(); space(Bach);
30 System.out.println("Bach.mms_35_JSB_M12"); Bach.mms_35_JSB_M12(); space(Bach);
31 System.out.println("Bach.mms_35_JSB_M13"); Bach.mms_35_JSB_M13(); space(Bach);
32 System.out.println("Bach.mms_36_JSB_M14"); Bach.mms_36_JSB_M14(); space(Bach);
33 System.out.println("Bach.mms_36_JSB_M15"); Bach.mms_36_JSB_M15(); space(Bach);
34 System.out.println("Encore!?!?!?!");
35
36 Bach.untext();
37 }
38
39 private static void space(SComposer c) {
40 c.untext(); c.rest(2); c.text();
41 }
42 }
43