lilypond-user
[Top][All Lists]
Advanced

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

Re: Transposing music into new lilypond code


From: Yuval Harel
Subject: Re: Transposing music into new lilypond code
Date: Tue, 04 Jan 2005 15:32:12 +0200
User-agent: Opera M2/7.54 (Win32, build 3865)

You understood correctly. The solution you suggested would work, but is less neat for my needs. The reason I want to have transposed lilypond code is that I have a fragment of music I've written to be included in a longer piece. I already have it in lilypond code in the E key. Now the piece
is complete, with this section in the F key.
I now have lilypond code of the middle section in one file (still in E) and of everything else
in another file. I want them both neatly in one file, with no \transpose.

On Tue, 04 Jan 2005 10:08:02 +0100, Mats Bengtsson <address@hidden> wrote:

If I understand you correctly, you want a new .ly file whose content
is a transposed version of another .ly file. However, I don't understand
why you would need such a thing. The following example shows how you can
combine fragments of music written for different transpositions into a
single part:

\version "2.4.2"

transposedsection = \relative c' {
   \key d \major
   d4 e fis g a g fis e d1
}

\relative c'{
c4 e g e
\transpose d c {\transposedsection}
}

    /Mats

Yuval Harel wrote:
Hi all,
I've got a fragment of music that I want to transpose, in order to insert the transposed fragment to another file. I want the output to contain the music already tranposed (without \transpose).
Is there any tool available to do that?
 Thanks,
    Yuval









reply via email to

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