lilypond-user
[Top][All Lists]
Advanced

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

Re: Efficient transposition


From: David Kastrup
Subject: Re: Efficient transposition
Date: Tue, 31 Dec 2013 01:04:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Colin Tennyson <address@hidden> writes:

> David Kastrup wrote
>> A score cannot be transposed.  But its music can.
>> 
>> \score {
>>   \transpose c' a
>>   \new ChoirStaff <<
>>     \override Score.BarNumber.break-visibility = #'#(#f #t #t)
>>     \set Score.barNumberVisibility = #(every-nth-bar-number-visible 5)
>> [...]
>
> Wow, I could not have guessed that syntax will work.
>
> You see, the way I understood the documentation was that the  \transpose
> [note] [note] _must_ be followed _directly_ by a pair of curly braces.
> I'm pretty much stunned by your example, where the  \transpose c' a is
> followed by a \new ChoirStaff
>
> I tried several things, but always with the form  \transpose c' a { ... }

\transpose c' a { \new ChoirStaff << ... >> }

should work just as well as

\transpose c' a \new ChoirStaff << ... >>

but of course I am lazy.

-- 
David Kastrup



reply via email to

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