Пример #1
0
 /**
  * Display the jMusic Phrase in a ShowScore window, at the specified x <br>
  * and y coordinates, measured in pixels.
  *
  * @param Phrase
  * @param xLoc the left-right location of the window
  * @param yLoc the up-down location of the window
  */
 public static void sketch(Phrase phr, int xLoc, int yLoc) {
   Score s = new Score("Phrase: " + phr.getTitle());
   Part p = new Part();
   p.addPhrase(phr);
   s.addPart(p);
   new SketchScore(s, xLoc, yLoc);
 }
Пример #2
0
 /**
  * Print the jMusic Phrase in standard output
  *
  * @param Phrase
  */
 public static void internal(Phrase phrase) {
   System.out.println(phrase.toString());
 }