def setUp(self): self.item = Note.Note() self.item.pitch = Note.Pitch() self.item.addBeam(1, Note.Beam("end")) self.item.addBeam(2, Note.Beam("begin")) Lily.setUp(self) self.wrappers = ["\\new Staff{a8 ", "c'8]}"] self.lilystring = "c'][" self.name = "notebeamstart"
def setUp(self): self.item = Note.Note() self.item.pitch = Note.Pitch() self.item.addBeam(1, Note.Beam("end")) Lily.setUp(self) self.compile = True self.wrappers = ["\\new Staff{a [", "}"] self.lilystring = "c']" self.name = "notebeamend"
def setUp(self): self.item = Note.Note() self.item.pitch = Note.Pitch() self.item.addBeam(1, Note.Beam("continue")) Lily.setUp(self) self.compile = True self.wrappers = ["\\new Staff{a [c'8", "8]}"] self.lilystring = "c'" self.name = "notebeamcont"
def setUp(self): self.item = Note.Note() self.item.pitch = Note.Pitch() self.item.addBeam(1, Note.Beam("begin")) self.lilystring = "c'[" Lily.setUp(self) self.compile = True self.wrappers = ["\\new Staff{", "}"] self.name = "notepitch"
def setUp(self): self.item = StaffNode() self.item.AddChild(MeasureNode(), 1) measure = self.item.GetChild(1) note = Note.Note() note.pitch = Note.Pitch() note.addBeam(2, Note.Beam("begin")) measure.addNote(note) self.item.NewBeam("begin") Lily.setUp(self) self.lilystring = " % measure 1\nc' | \n\n" self.name = "notenoendbeam"
def setUp(self): self.item = Note.Beam("end") self.lilystring = "]"
def setUp(self): self.item = Note.Beam("begin") self.lilystring = "["