Example #1
0
 public static void midi(CPhrase paramCPhrase) {
   Part localPart = new Part();
   localPart.addCPhrase(paramCPhrase);
   Score localScore = new Score("Score of " + paramCPhrase.getTitle());
   localScore.addPart(localPart);
   midi(localScore, paramCPhrase.getTitle() + ".mid");
 }
Example #2
0
 public static void au(CPhrase paramCPhrase, Instrument[] paramArrayOfInstrument) {
   Part localPart = new Part();
   localPart.addCPhrase(paramCPhrase);
   Score localScore = new Score("Score of " + paramCPhrase.getTitle());
   localScore.addPart(localPart);
   au(localScore, paramCPhrase.getTitle() + ".au", paramArrayOfInstrument);
 }
Example #3
0
 public CPhrase copy() {
   Vector localVector = new Vector();
   CPhrase localCPhrase = new CPhrase(this.title + " copy", this.startTime, this.instrument);
   Enumeration localEnumeration = this.phraseList.elements();
   while (localEnumeration.hasMoreElements()) {
     Phrase localPhrase = ((Phrase) localEnumeration.nextElement()).copy();
     localVector.addElement(localPhrase);
   }
   localCPhrase.setPhraseList(localVector);
   localCPhrase.setAppend(this.append);
   localCPhrase.setLinkedPhrase(this.linkedPhrase);
   return localCPhrase;
 }
Example #4
0
 public static void xml(CPhrase paramCPhrase, String paramString) {
   Part localPart = new Part();
   localPart.addCPhrase(paramCPhrase);
   Score localScore = new Score("Score of " + paramCPhrase.getTitle());
   localScore.addPart(localPart);
   xml(localScore, paramString);
 }