lilypond-user
[Top][All Lists]
Advanced

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

Re: transpose


From: Gilles
Subject: Re: transpose
Date: Sat, 9 Apr 2005 01:54:59 +0200
User-agent: Mutt/1.5.6+20040907i

Hi.

> For concreteness, the whole file is below.
> I want it in C Major, instead of G Major -- up a fifth.

This is how I do it:

%-----
\version "2.4.2"

melodyNotes = \relative c''' {
   \time 3/4
   g4 d c |
   a4 b c |
}

melodyStaff = \context Staff = "Melody" {
  \clef G
  \key c \major
  \transpose g c { \melodyNotes }
}

\score {
    \melodyStaff
}
%-----

[For the chords, I didn't try yet, so I don't know.]

Best,
Gilles




reply via email to

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