[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 00:10:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Colin Tennyson <address@hidden> writes:
> I have created my first LilyPond file, using Frescobaldi.
> (LilyPond 2.18, Frescobaldi 2.0.12)
That must be the first documented use of LilyPond 2.18.
> I've transposed it down a minor third. My question is: is the way I coded
> the transposition the most efficient one?
> Currently the 4 voices are transposed individually. So if I want do
> undo/redo the transposition I have to comment out the transposition in 4
> separate places.
> Is there a way to use built-in LilyPond functionality so that there is a
> _single_ point in the code for setting the transposition?
>
> I tried embracing the entire score part of the source in a
> \transpose a fs { ... }
> but the parser didn't accept that.
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)
[...]
--
David Kastrup
Re: Efficient transposition, Urs Liska, 2013/12/30