Beispiel #1
0
 def setUp(self):
     self.item = MeasureNode()
     dirnode = Directions.OctaveShift(amount=8, type="up")
     self.item.addDirection(dirnode)
     self.node = NoteNode()
     self.node.GetItem().pitch = Note.Pitch(octave=2)
     self.item.addNote(self.node)
Beispiel #2
0
 def setUp(self):
     self.item = MeasureNode()
     node = NoteNode()
     node.GetItem().pitch = Note.Pitch(octave=4)
     self.item.addNote(node)
     dirnode = Directions.OctaveShift(amount=8, type="up")
     self.item.addDirection(dirnode)
     node2 = NoteNode()
     node2.GetItem().pitch = Note.Pitch(octave=4)
     self.item.addNote(node2)
     Lily.setUp(self)
     self.compile = True
     self.wrappers = ["\\new Staff{a8 ", "c'8]}"]
     self.lilystring = "c' \n\\ottava #-1\n c'  | "
     self.name = "noteOctaveShift"
Beispiel #3
0
 def setUp(self):
     self.item = Directions.OctaveShift(amount=15, type="down")
     self.lilystring = "\n\ottava #2\n"
Beispiel #4
0
 def setUp(self):
     self.item = Directions.OctaveShift(amount=8)
     self.lilystring = "\n\ottava #1\n"