Alasdair,
I am not sure to correctly understand what you want to do...
Do you have a small example ?
Thanks
Rémy
envoyé : 9 février 2022 à 08:16 de : Alasdair McAndrew <amc...@gmail.com> à : lilypond-user@gnu.org objet : Setting relative pitch as a global declaration?
I'm sorry about all these damn-fool queries of mine; I promise to go back under my rock soon. Anyway: In the current 18th century suite I'm typesetting (for two treble instruments without bass), there is a separate variable (containing the notes) for each part of each movement. Then there are global declarations about the instruments, and the key and time-signature of each movement; and these are all brought together in score blocks.
The one thing I don't know how to do is to declare the relative pitch globally. Thus, each music variable looks like
movement1_part1 = \new Voice \relative c'' { notes, notes, and more notes }
The difficulty is that I want to re-set the second part for a bass instrument, so it might start off as
movement1_part2 = \new Voice \relative c { notes, notes, and more notes }
Currently this means changing the relative pitch for each movement individually. It would be much more efficient to be able to do this just once at the beginning, with an appropriate global declaration. Can this be done? Is there a way to set the relative pitch of some music in a \global block?
(Note, I have indeed RTFM, but it's quite hard - even with the search function - to find answers to this, or examples of such use. Hence this message...)
Thank you, Alasdair -- 0432 854 858 https://numbersandshapes.net
|