lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting note name language


From: -Eluze
Subject: Re: Converting note name language
Date: Thu, 22 Oct 2009 05:51:09 -0700 (PDT)


Pikachu-3 wrote:
> 
> 
> Thank you, but what I'm trying to mean is not to write a new music in
> German but to convert ly file already written in English into German,
> for example:
> ----------------------
> \include "english.ly"
> c8 d e f g a b c | bes2 des |
> b4 b b b|
> \bar "|."
> -----------------------
>     |
>     |
>    V
> ----------------------
> \include ‘deutsch.ly’
> c8 d e f g a h c | b2 des |
> h4 h h h|
> \bar "|."
> -----------------------
> I'd like to know how to convert the former file to the latter
> automatically, not manually.
> 
this should do it:

\include "deutsch.ly"
mel={
  c 8 d e f g a b c | b 2 des |
  b 4 b b b|
  \bar "|."
}
\include "english.ly"
\displayLilyMusic {
  \mel
}

just change the input/output language and the input notes!
-- 
View this message in context: 
http://www.nabble.com/Converting-note-name-language-tp26008301p26009335.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]