[EMAIL PROTECTED] said:
> |     The next is applying lilypond to the file greengro.ly which was 
> |     obtained from the file GREENGRO.mid using mi2mu 
> |
> |greengro.ly:12:10: error: parse error, expecting `NOTENAME_PITCH': 
> |         \key "D" 
> |                 ; 
> |
> |greengro.ly:12:11: error: have to be in Lyric mode for lyrics:
> |         \key "D";
> |
> |]] 
> |Interpreting music...Segmentation fault (core dumped)
> |---------------------------------------- |

> This bug has been reported and I thought a fix was posted, but
> apparently it didn't make it in 1.0.0.

> Jeff 

Here's a patch that should fix the problem.

    /Mats

diff -urN ../lilypond-1.0.0/mi2mu/mudela-item.cc mi2mu/mudela-item.cc
--- ../lilypond-1.0.0/mi2mu/mudela-item.cc     Fri Jul 31 00:04:06 1998
+++ mi2mu/mudela-item.cc        Thu Aug  6 10:13:55 1998
@@ -60,7 +60,7 @@
     : to_str ((char)  ((key_i + 2 - 2) % 7 + 'a'));
   // heu, -2: should be - 1 1/2: A -> fis
    
-  return String("\\key \"" + keyname  + "\";\n");
+  return String("\\key " + keyname  + ";\n");
 }
 
 String

Reply via email to