[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/development
lilypond.org/stable
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Transpose

A music expression can be transposed with \transpose. The syntax is

       \transpose pitch musicexpr
     

This means that middle C in musicexpr is transposed to pitch.

\transpose distinguishes between enharmonic pitches: both \transpose cis' or \transpose des' will transpose up half a tone. The first version will print sharps and the second version will print flats.

     mus =\notes { \key d \major cis d fis g }
     \score { \notes \context Staff {
       \clef "F" \mus
       \clef "G"
       \transpose g'' \mus
       \transpose f'' \mus
     }}
     
[picture of music]

If you want to use both \transpose and \relative, then you must use \transpose first. \relative will have no effect music that appears inside a \transpose.

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.6.6 (stable-branch) by

<(address unknown)>, Thu Dec 26 14:15:44 2002 MSK.