/** * 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); }
/** * 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); }
/** * Print the jMusic Score in standard output * * @param Score */ public static void internal(Score score) { System.out.println(score.toString()); }
/** * Display the jMusic Part in a ShowScore window, at the specified x and<br> * y coordinates, measured in pixels. * * @param Part * @param xLoc the left-right location of the window * @param yLoc the up-down location of the window */ public static void sketch(Part p, int xLoc, int yLoc) { Score s = new Score("Part: " + p.getTitle()); s.addPart(p); new SketchScore(s, xLoc, yLoc); }
/** * Display the jMusic Part in a piano roll window * * @param Part * @param xLoc the left-right location of the window * @param yLoc the up-down location of the window */ public static void pianoRoll(Part p, int xLoc, int yLoc) { Score s = new Score("Part: " + p.getTitle()); s.addPart(p); new ShowScore(s, xLoc, yLoc); }