1 package mmw; 2 3 import composer.SComposer; 4 5 /* 6 *Play a melody composed of JSB minuets, according to the following constraints: 7 * The Melody must have 40 notes 8 * The melody must be composed of 5 sequences drawn from JSB's minuets 9 * You may need to use sequences more than once 10 * The final note will be a long c 11 */ 12 13 /* 14 *Chosen sequences: 15 *m7 (4 notes) x1 16 *m8 (4 notes) x1 17 *m10 (5 notes) x3 18 *m11 (5 notes) x3 19 *Ending sequence: m1 (1 note) x2 20 */ 21 public class AfterJSB { 22 public static void main(String[] args){ 23 24 SComposer sc = new SComposer(); 25 sc.text(); 26 27 sc.mms_34_JSB_M7(); 28 System.out.println(); 29 sc.mms_34_JSB_M8(); 30 System.out.println(); 31 32 sc.mms_35_JSB_M10(); 33 System.out.println(); 34 sc.mms_35_JSB_M11(); 35 System.out.println(); 36 sc.mms_35_JSB_M10(); 37 System.out.println(); 38 sc.mms_35_JSB_M11(); 39 System.out.println(); 40 sc.mms_35_JSB_M10(); 41 System.out.println(); 42 sc.mms_35_JSB_M11(); 43 System.out.println(); 44 45 sc.mms_31_JSB_M1(); 46 System.out.println(); 47 sc.mms_31_JSB_M1(); 48 System.out.println(); 49 50 sc.untext(); 51 } 52 } 53