Esempio n. 1
0
 def grace(self, music):
     r"""
     Handles LilyPond ``\grace`` command.
     """
     assert isinstance(music, core.Container)
     leaves = music[:]
     music[:] = []
     return core.GraceContainer(leaves)
Esempio n. 2
0
 def appoggiatura(self, music):
     r"""
     Handles LilyPond ``\appoggiatura`` command.
     """
     grace = core.GraceContainer(music[:], command=r"\appoggiatura")
     return grace
Esempio n. 3
0
 def slashed_grace_container(self, music):
     r"""
     Handles LilyPond ``\slahsedGrace`` command.
     """
     grace = core.GraceContainer(music[:])
     return grace