1 /* 2 * Program to view (and possibly listen to) a melody composed of JSB minuets 3 * Additional requirements: 4 * 1) melody will consist of 40 notes 5 * 2) Melody will make use of exactly 5 different JSb modular melodic sequences 6 * (can use one or more of the 5 more than once) 7 * 3) The final note will be a long C note. 8 */ 9 10 package mmw; 11 12 import composer.SComposer; 13 14 public class AfterJSB { 15 16 public static void main(String[] args) { 17 SComposer c = new SComposer(); 18 c.text(); //display textually in output window 19 /* 20 * 40 notes, ends with long C note, uses exactly 5 minuets 21 * Removed space function so that minuets play without pauses in between 22 */ 23 System.out.println("c.mms_36_JSB_M14..."); c.mms_36_JSB_M14(); //6 notes 24 System.out.println("c.mms_34_JSB_M6..."); c.mms_34_JSB_M6(); //4 notes 25 System.out.println("c.mms_36_JSB_M15..."); c.mms_36_JSB_M15(); //6 notes 26 System.out.println("c.mms_34_JSB_M6..."); c.mms_34_JSB_M6(); //4 notes 27 System.out.println("c.mms_36_JSB_M14..."); c.mms_36_JSB_M14(); //6 notes 28 System.out.println("c.mms_34_JSB_M6..."); c.mms_34_JSB_M6(); //4 notes 29 System.out.println("c.mms_35_JSB_M9..."); c.mms_35_JSB_M9(); //5 notes 30 System.out.println("c.mms_34_JSB_M6..."); c.mms_34_JSB_M6(); //4 notes 31 System.out.println("c.mms_31_JSB_M1..."); c.mms_31_JSB_M1(); //1 note, long C note 32 c.untext(); 33 } 34 } 35