
2009/7/28 Michael McDonald <mikencolleen(a)gmail.com>:
Clef change on a Lilypond file ought to be trivial. My understanding is that the notes can be specified either absolute or relative. The clef sign shouldn't alter pitch, so changing it ought to be just a matter of a simple change in the data file.
'tis the case. Did a simple test. Generated a little scrap of music. The lilypond file follows. Changed the "clef treble" to "clef tenor" and "clef tenor" to "clef bass" ... and the notes were correct for the appropriate clef, ie the pitch didn't alter. Michael % LilyPond file generated by Denemo version 0.7.7 %http://www.gnu.org/software/denemo/ \version "2.8.7" \header{ title = "" subtitle = "" poet = "" composer = "" meter = "" opus = "" arranger = "" instrument = "" dedication = "" piece = "" head = "" copyright = "" footer = "" tagline = "" } #(set-global-staff-size 16) #(set-default-paper-size "a4") VoiceI = \context Voice = VoiceI { \set Staff.midiInstrument = "acoustic grand" \time 4/4 \key c \major \clef treble a4 c' e' g' \clef tenor | c' b a g \bar "|." } \score { << \new Staff << \VoiceI
\layout { } \midi { \tempo 4 = 60 } }