ThreeFigureMinuetThing.java
|
1 /*
2 * Nine note line created by joining three JSB minuet figures.
3 */
4 package mmw;
5 import composer.SComposer;
6 import note. SNote;
7
8 public class ThreeFigureMinuetThing {
9 public static void main(String[] args) {
10 SNote note = new SNote();
11 SComposer sc = new SComposer();
12 sc.text();
13 note.text();
14 note.play(); note.lp(); note.play(); note.lp(); note.play(); System.out.println();
15 note.rp(2); note.s2(); note.play(); note.lp(); note.play(); note.lp(); note.play(); note.rp(); note.play(); note.rp(); note.x2(); note.play(); System.out.println();
16 note.x3(); note.play();
17 }
18 }
19
20
21
22
23 /*
24 What the end result has to look like
25 (C,1) \ (B,1) \ (A,1)
26 / (C,1/2) \ (B,1/2) \ (A,1/2) / (B,1/2) / (C,1)
27 (C,3)
28 */