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