]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/mup2ly.py
(LY_DEFINE): add ly:stencil-origin
[lilypond.git] / scripts / mup2ly.py
index b7d2d0850e98e448308f129ab5bad12bad30e8eb..98ba97c5892d72173b84ae235f522615112f4d0d 100644 (file)
@@ -524,7 +524,7 @@ class Voice:
                str = str  + ln
                id = self.idstring ()
                        
-               str = '''%s = \\context Voice = %s \\notes {
+               str = '''%s = \\context Voice = %s {
 %s
 }
 
@@ -566,9 +566,9 @@ class Key:
                if self.sharps and self.flats:
                        k = '\\keysignature %s ' % 'TODO'
                elif self.sharps:
-                       k = '\\notes\\key %s \major' % key_sharps[self.sharps]
+                       k = '\\key %s \major' % key_sharps[self.sharps]
                elif self.flats:
-                       k = '\\notes\\key %s \major' % key_flats[self.flats]
+                       k = '\\key %s \major' % key_flats[self.flats]
                return k
 
 class Time: