lilypond-user
[Top][All Lists]
Advanced

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

Re: optional transposition triggered by an external file?


From: Wim van Dommelen
Subject: Re: optional transposition triggered by an external file?
Date: Tue, 30 Jul 2013 16:30:37 +0200


On 30 Jul 2013, at 08:46 , Marc Hohl wrote:


transposeTo = transposeTo OR c
In the past I've used a very simple construct:

notes = { ... }

music = {
    \tag Bassoon \notes
    \tag BCl \transpose bes, c' { \notes }
}

instrument = Bassoon % could be Bassoon or BCl (bassclarinet) in my case

\score
        \keepWithTag \instrument \music
        \layout {}
}

It is sort of hard-coded, BUT I could vary the instrument by creating a small file in which I stated this instrument and just included that file again in the Lilypond framework-file. With an external Makefile I steered what should be done by generating (or copying) this include- file and then running the lilypond command on the framework.

Regards,
Wim.





reply via email to

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