Thank you all so much for your help and advice. Given that there might have been some confusion about what I was asking, I've added below a sort of template of what I'm doing. Note that this is a duet, and the notes for the first part (first instrument) are given as variables *_one; and for the second part (second instrument) as *_two.
The use of the "french" clef is just to check with the original - they will be changed to "\clef treble" before final typesetting.
What I want to do is to produce a version of this where the second part is taken by a bass instrument. This will require two things: first a change of the \global_two decoration, and second a change of relative pitch in its music.
There are 8 movements, which would mean - in my example - changing the relative pitch for each variable containing music for this second part. Given that I like to separate the notes from the movement and instrument descriptions, I was hoping that this could be done "in one go" as it were. I was wondering if it would be possible to define one's own version of \Voice in such a way that included a relative pitch - maybe using a Scheme function.
Anyway, I shall read all your messages with greater focus later today. Again, many thanks.
Alasdair
--
global_one = {
\set Staff.instrumentName = #"Recorder"
\override Staff.InstrumentName.self-alignment-X = #RIGHT
\set Staff.midiInstrument = #"recorder"
\clef french
}
global_two = {
\set Staff.instrumentName = #"Recorder"
\override Staff.InstrumentName.self-alignment-X = #RIGHT
\set Staff.midiInstrument = #"recorder"
\clef french
}
global_prelude = {
\time 4/4
\key c \major
}
global_menuet = {
\time 3/4
\key c \minor
}
prelude_one = \new Voice \relative c'' {
notes notes notes
}
prelude_two = \new Voice \relative c'' {
notes notes notes
}
menuet_one = \new Voice \relative c'' {
notes notes notes
}
menuet_two = \new Voice \relative c'' {
notes notes notes
}
\score {
\new StaffGroup <<
\new Staff << \global \global_one \global_prelude \prelude_one >>
\new Staff << \global \global_two \global_prelude \prelude_two >>
>>
\layout { }
\header{
piece = \markup {\fontsize #2 {Prelude}}
}
\midi {
\tempo 4 = 144}
}
\score {
\new StaffGroup <<
\new Staff << \global \global_one \global_menuet \menuet_one >>
\new Staff << \global \global_two \global_menuet \menuet_two >>
>>
\layout { }
\header{
piece = \markup {\fontsize #2 {Menuet}}
}
\midi {
\tempo 4 = 144}
}