Urs, Jieren & David:

Thank you for the suggestion. I will code parts with "\relative" and then use 
frecobaldi to convert it to absolute.  This will save time to code 350 
"\relative"s.  The code is much cleaner.

Thanks,
Ming.


________________________________
 From: Urs Liska <u...@openlilylib.org>
To: Kieren MacMillan <kieren_macmil...@sympatico.ca>; MING TSANG 
<tsan...@rogers.com> 
Cc: "lilypond-user@gnu.org" <lilypond-user@gnu.org>; David Nalesnik 
<david.nales...@gmail.com> 
Sent: Friday, September 13, 2013 2:39:21 PM
Subject: Re: 350 "\relative"s on all parts - is it possible to simply the code?
 


You might also consider writing everything in one relative variable, then 
convert everything to absolute (with Frescobaldi for example), then create a 
little script to split the variables into chunks and finally reconvert them to 
relative mode.

HTH
Urs




Kieren MacMillan <kieren_macmil...@sympatico.ca> schrieb:
Hi Ming,
>
>Perhaps if you used
>
>\relative a' { a4 c b e | }
>
>instead of
>
>\relative c'' { a4 c b e | }
>
>you'd be able to reuse the material?
>
>Also, there are \extractMusic functions which you might be able to use, to 
>pull just specific chunks (e.g., one measure) out of a larger variable.
>
>Hope this helps!
>Kieren.
>>________________________________
>
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
>
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to