Example #1
0
 /**
  * Display the jMusic CPhrase in a piano roll window
  *
  * @param CPhrase
  * @param xLoc the left-right location of the window
  * @param yLoc the up-down location of the window
  */
 public static void pianoRoll(CPhrase cphr, int xLoc, int yLoc) {
   Score s = new Score("Phrase: " + cphr.getTitle());
   Part p = new Part();
   p.addCPhrase(cphr);
   s.addPart(p);
   new ShowScore(s, xLoc, yLoc);
 }
Example #2
0
 /**
  * Print the jMusic CPhrase in standard output
  *
  * @param CPhrase
  */
 public static void internal(CPhrase cphrase) {
   System.out.println(cphrase.toString());
 }