void initDisplayObjects() { int yoffs = -30; DisplayText dtitle = new DisplayText("Twos & Threes", bigfont, CENTER, width, height * .5 + yoffs, 180, 180, 180, 0); dtitle.cueCTrans(1, 180, 180, 180, 0); dtitle.cuePTrans(1, width, height * .5 + yoffs, 1, 1); dtitle.cueCTrans(1, 180, 180, 180, 1); dtitle.cuePTrans(1, width * .5, height * .5 + yoffs, 1, 3); dtitle.cueCTrans(5, 180, 180, 180, 1); dtitle.cuePTrans(4.5, width * .5, height * .5 + yoffs, 1, 1); dtitle.cueCTrans(1, 180, 180, 180, 0, 1); dtitle.cuePTrans(1.5, 0, height * .5 + yoffs, 3, 1); yoffs = 30; DisplayText dauthor = new DisplayText("by Benito\nv0.8j", smallfont, CENTER, width, height * .5 + yoffs, 180, 180, 180, 0); dauthor.cueCTrans(3, 180, 180, 180, 0); dauthor.cuePTrans(3, width, height * .5 + yoffs, 1, 1); dauthor.cueCTrans(1, 180, 180, 180, 1); dauthor.cuePTrans(1, width * .5, height * .5 + yoffs, 1, 3); dauthor.cueCTrans(4, 180, 180, 180, 1); dauthor.cuePTrans(3.5, width * .5, height * .5 + yoffs, 1, 1); dauthor.cueCTrans(1, 180, 180, 180, 0, 1); dauthor.cuePTrans(1.5, 0, height * .5 + yoffs, 3, 1); yoffs = -30; String descrstr = "a piece for digital keyboard marimba\nwith funky complex-meter accompaniament"; DisplayText ddesc = new DisplayText(descrstr, smallfont, CENTER, width, height * .5 + yoffs, 180, 180, 180, 0); ddesc.cueCTrans(9, 180, 180, 180, 0); ddesc.cuePTrans(9, width, height * .5 + yoffs, 1, 1); ddesc.cueCTrans(1, 180, 180, 180, 1); ddesc.cuePTrans(1, width * .5, height * .5 + yoffs, 1, 3); ddesc.cueCTrans(4, 180, 180, 180, 1); ddesc.cuePTrans(3.5, width * .5, height * .5 + yoffs, 1, 1); ddesc.cueCTrans(1, 180, 180, 180, 0, 1); ddesc.cuePTrans(1.5, 0, height * .5 + yoffs, 3, 1); yoffs = -30; String instrstr = "typing will cue melodic patterns for the marimba.\n"; instrstr += "CAPITAL letters will invert the melodic contour.\nthe bass and drums will follow."; DisplayText dinstr = new DisplayText(instrstr, smallfont, CENTER, width, height * .5 + yoffs, 180, 180, 180, 0); dinstr.cueCTrans(16, 180, 180, 180, 0); dinstr.cuePTrans(16, width, height * .5 + yoffs, 1, 1); dinstr.cueCTrans(1, 180, 180, 180, 1); dinstr.cuePTrans(1, width * .5, height * .5 + yoffs, 1, 3); dinstr.cueCTrans(6, 180, 180, 180, 1); dinstr.cuePTrans(5.5, width * .5, height * .5 + yoffs, 1, 1); dinstr.cueCTrans(1, 180, 180, 180, 0, 1); dinstr.cuePTrans(1.5, 0, height * .5 + yoffs, 3, 1); yoffs = -20; String instrstr2 = "typing 1-3 will change the scale.\n"; instrstr2 += "pressing will change the accompaniment"; DisplayText dinstr2 = new DisplayText(instrstr2, smallfont, CENTER, width, height * .5 + yoffs, 180, 180, 180, 0); dinstr2.cueCTrans(25, 180, 180, 180, 0); dinstr2.cuePTrans(25, width, height * .5 + yoffs, 1, 1); dinstr2.cueCTrans(1, 180, 180, 180, 1); dinstr2.cuePTrans(1, width * .5, height * .5 + yoffs, 1, 3); dinstr2.cueCTrans(6, 180, 180, 180, 1); dinstr2.cuePTrans(5.5, width * .5, height * .5 + yoffs, 1, 1); dinstr2.cueCTrans(1, 180, 180, 180, 0, 1); dinstr2.cuePTrans(1.5, 0, height * .5 + yoffs, 3, 1); maindisp = new DisplayRegime(this); maindisp.add(dtitle); maindisp.add(dauthor); maindisp.add(ddesc); maindisp.add(dinstr); maindisp.add(dinstr2); }