コード例 #1
0
ファイル: View.java プロジェクト: klesun/jMusic_fork
 /**
  * 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);
 }
コード例 #2
0
ファイル: View.java プロジェクト: klesun/jMusic_fork
 /**
  * Print the jMusic CPhrase in standard output
  *
  * @param CPhrase
  */
 public static void internal(CPhrase cphrase) {
   System.out.println(cphrase.toString());
 }