|
From: | Urs Liska |
Subject: | Re: Notating same part in two different mixtures of clefs |
Date: | Wed, 16 May 2012 10:29:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
Am 16.05.2012 09:30, schrieb Christopher Webster:
Thank you! Of your three proposed solutions, the one with tags looks like the winner. I didn't know about tags - they look ideally suited.Yes, that's exactly what they are for. Yes, you would have to write out the whole piece for both \voices and apply one or the other. Whether this makes sense, depends a little bit, whether the clef changes necessarily occur at the same places, which I assume they don't. In this case the solution with separate voices provides you with quite fine control. But you have to manage a separate layer that you don't enter directly into the music. No you don't have to edit the ly-file. You can write sth like: music = { ... } myClefI = { \clef tenor } myClefII = { \clef bass \score ... % references \music % and then redefine the variables myClefI = { \clef treble } myClefII = { \clef bass \score ... % references \music If your clef layers are independent (as I assume) you could define four variables trebleClef, altoClef, tenorClef, bassClef and leave two of them empty. music = { % contains all four clefs as references. % If you have e.g. alto and bass clef at the same time you write % \altoClef \bassClef } % define clefs for first score trebleClef = {} altoClef = {} tenorClef = { \clef tenor } bassClef = { \clef bass } \score { \music } % in this score the treble and alto clefs are just ignored %then define the clefs the other way roung % ... \score % now the tenor and bass clefs are ignored. I find this solution looks nicer than with tags, but the functionality is nearly identical. Only if you consider that the cello might also have a treble clef, this one won't work anymore. But this again is no problem when you work with clefs. I have come to find the redefinition of variables a _very_ useful concept. HTH Urs
|
[Prev in Thread] | Current Thread | [Next in Thread] |