Exemplo n.º 1
0
 def __init__(self, glyph_name=None):
     from abjad.ly import music_glyphs
     glyph_name = glyph_name or 'accidentals.sharp'
     message = 'not a valid LilyPond glyph name.'
     assert glyph_name in music_glyphs, message
     glyph_scheme = schemetools.Scheme(glyph_name, force_quotes=True)
     MarkupCommand.__init__(self, 'musicglyph', glyph_scheme)
Exemplo n.º 2
0
 def __init__(self, glyph_name=None):
     from abjad.ly import music_glyphs
     glyph_name = glyph_name or 'accidentals.sharp'
     message = 'not a valid LilyPond glyph name.'
     assert glyph_name in music_glyphs, message
     glyph_scheme = schemetools.Scheme(glyph_name, force_quotes=True)
     MarkupCommand.__init__(self, 'musicglyph', glyph_scheme)
Exemplo n.º 3
0
 def __init__(self, glyph_name):
     from abjad.ly import music_glyphs
     assert glyph_name in music_glyphs, 'Not a valid LilyPond glyph name.'
     glyph_scheme = schemetools.Scheme(glyph_name, force_quotes=True)
     MarkupCommand.__init__(self, 'musicglyph', glyph_scheme)