/** * 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); }