lilypond-user
[Top][All Lists]
Advanced

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

Re: 350 "\relative"s on all parts - is it possible to simply the code?


From: David Nalesnik
Subject: Re: 350 "\relative"s on all parts - is it possible to simply the code?
Date: Fri, 13 Sep 2013 12:05:11 -0500

Hi Ming,


On Fri, Sep 13, 2013 at 11:42 AM, MING TSANG <address@hidden> wrote:
Hi, lilyponders:

Sorry for the long .ly file.
I am using variables for each measure (bar).  I have trouble use one "\relative" for each soprano, alto, tenor, right & left. Now I have 70 "\relative"s.

1.  Is there a better way to code this, so that I don't need to have 70 "\relative"s? ( 70 x 5 = 350 for all parts)

To answer your first question, you ought to use a single variable to represent the entire soprano part, a single variable for the whole alto part, etc.  You can store music expressions of any length in a variable, not just one measure chunks.  A \relative for each of four variables won't be cumbersome at all!

Hope this helps,
David 

reply via email to

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