lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A must-see for anybody on this list


From: Joseph Rushton Wakeling
Subject: Re: A must-see for anybody on this list
Date: Tue, 12 Feb 2013 14:34:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

On 02/12/2013 01:24 PM, Janek Warchoł wrote:
we have a snippet
Documentation/snippets/transposing-pitches-with-minimum-accidentals-smart-transpose.ly

The problem with this snippet is that it's conceived as a function that "wraps" a given piece of music. But as I recall, if you put a transposition function _outside_ the call to naturalize-music, that transposition will not benefit from the naturalization rules.

What you actually want to see in a given passage is something like,

{
  \set Staff.transposition = #'chromatic
  c'4 bf' gs' e'    % any transposition applied to this passage
                    % will be chromatic
  \set Staff.transposition = #'tonal
  c' d' e' f'       % whereas this will be treated tonally
}

The above would not affect the written music in concert pitch, but would be called in to play if the music was ever passed through transposition.

Note that the transposition rule should be possible to apply at all levels, Score, StaffGroup, Staff, Voice.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]