GerudoSong - import import import i import*;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
import*; import jm.JMC; import jm.util.*; import*; i // Written by Ricardo Corrales public class GerudoSong{ //--------------------------------------------// //-----------------LEAD PORTION---------------// //--------------------------------------------// public static AdvancedSongList assembleLead(){ // Initialize AdvancedSongNodes AdvancedSongNode C3 = new AdvancedSongNode(GerudoPhrase.Clap3()); AdvancedSongNode L1 = new AdvancedSongNode(GerudoPhrase.Gerudo1()); AdvancedSongNode L2 = new AdvancedSongNode(GerudoPhrase.Gerudo2()); AdvancedSongNode L3 = new AdvancedSongNode(GerudoPhrase.Gerudo3()); AdvancedSongNode L4 = new AdvancedSongNode(GerudoPhrase.Gerudo4()); AdvancedSongNode L5 = new AdvancedSongNode(GerudoPhrase.Gerudo5()); // Start making the list AdvancedSongList myLeadList = new AdvancedSongList(C3.copy()); myLeadList.repeatNext(myLeadList.getHead(), C3.copy(), 6); myLeadList.add(L1.copy()); myLeadList.add(L2.copy()); myLeadList.add(L3.copy()); myLeadList.add(L4.copy()); myLeadList.add(L1.copy()); myLeadList.add(L2.copy()); myLeadList.add(L3.copy()); myLeadList.add(L5.copy()); return myLeadList; } //--------------------------------------------// //---------------RHYTHM PORTION---------------// //--------------------------------------------// public static AdvancedSongList assembleRhythm(){ // Initialize the AdvancedSongNodes AdvancedSongNode R1 = new AdvancedSongNode(GerudoPhrase.Intro1R()); AdvancedSongNode R2_A1 = new AdvancedSongNode(GerudoPhrase.Intro2R_ChordA(3)); AdvancedSongNode R2_A2 = new AdvancedSongNode(GerudoPhrase.Intro2R_ChordA(7)); AdvancedSongNode R2_B1 = new AdvancedSongNode(GerudoPhrase.Intro2R_ChordB(3));
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/30/2010 for the course CS 1316 taught by Professor Staff during the Spring '08 term at Georgia Institute of Technology.

Page1 / 4

GerudoSong - import import import i import*;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online