Jump to content

Clefs can be transposed by arbitrary amounts

From LilyPond wiki
Revision as of 18:50, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

Clefs can be transposed by arbitrary amounts, not just by octaves.

\version "2.24"

\relative c' {
  \clef treble
  c4 c c c
  \clef "treble_8"
  c4 c c c
  \clef "treble_5"
  c4 c c c
  \clef "treble^3"
  c4 c c c
}