Hi,

 sorry, I seem to have missed the replies to the thread and just reread
them in the list archive.

David, could you provide me with a hint on how to get the suggested
masterToScore and masterToPart functions working? I guess this would
be the most suitable method for my purpose as I'm generating the parts
and score with makefiles in a modular fashion including filters
anyway. 

In principle the method seems clear, but I don't know (yet), how to
access the transposition properties within a function and revert or
cancel their effect.

--
Orm

------------------------------------------------------------
On Thu, 08 May 2014 10:57:46 +0200, David Kastrup wrote:
>
> > Naturally, but a music function like that misses the point. The
> > current way isn't cumbersome because it's verbose, it's cumbersome
> > because it requires breaking music into separate blocks using
> > braces. What I'd like to be able to do is change the transposition
> > like a context property, so that I could write something like:
> >
> > clarinet = \relative c' {
> >     \transposing bf
> >     c4 d e d
> >     \tag #'score \transposing a
> >     c d e d
> >     \tag #'parts \transposing a
> >     \tag #'score \transposing c'
> >     c d e d
> > }
> >
> > Obviously, this is a contrived situation, but you see what I'm getting
> > at.

> You are aware that you can _quote_ the transposed/transposing clarinet
> parts in score context and that the quote will appear in concert pitch,
> namely taking the setting of \transposition into account and reversing
> its effect on the notation?

> It's conceivable to create two music functions masterToScore and
> masterToPart where the first music function, when applied to a part like
> \clarinet above (just writing \transposition instead of \transposing)
> will _remove_ all \transposition statements in order not to mess up the
> score Midi, and the second one will instead _heed_ all \transposition
> statements and apply their _inverse_ to all following music in order to
> make a difference for the _printed_ music in the part.

> The disadvantage obviously being that \clarinet itself in "master input"
> will not be suitable for either score or part without filtering it
> further.

> -- 
> David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to