Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(94)

Issue 7404046: changes.tely: deal with \transposition and instrumentTransposition changes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by dak
Modified:
11 years, 2 months ago
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

changes.tely: deal with \transposition and instrumentTransposition changes Those were introduced by issue 754 and issue 3168, respectively.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix Texinfo error, swap items like Trevor suggested #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -0 lines) Patch
M Documentation/changes.tely View 1 1 chunk +23 lines, -0 lines 2 comments Download

Messages

Total messages: 12
Trevor Daniels
LGTM apart from the suggested change. https://codereview.appspot.com/7404046/diff/1/Documentation/changes.tely File Documentation/changes.tely (right): https://codereview.appspot.com/7404046/diff/1/Documentation/changes.tely#newcode83 Documentation/changes.tely:83: would have been ...
11 years, 2 months ago (2013-02-24 13:01:28 UTC) #1
dak
Fix Texinfo error, swap items like Trevor suggested
11 years, 2 months ago (2013-02-24 23:59:18 UTC) #2
dak
Hope I interpreted Trevor's comment correctly. The roposed "new" order did not occur to me ...
11 years, 2 months ago (2013-02-25 00:01:50 UTC) #3
Trevor Daniels
On 2013/02/25 00:01:50, dak wrote: > Hope I interpreted Trevor's comment correctly. Not quite, but ...
11 years, 2 months ago (2013-02-25 16:02:41 UTC) #4
dak
On 2013/02/25 16:02:41, Trevor Daniels wrote: > Not quite, but it is hardly a point ...
11 years, 2 months ago (2013-02-25 16:15:53 UTC) #5
Keith
LGTM https://codereview.appspot.com/7404046/diff/4001/Documentation/changes.tely File Documentation/changes.tely (right): https://codereview.appspot.com/7404046/diff/4001/Documentation/changes.tely#newcode71 Documentation/changes.tely:71: would have been the other way round. This ...
11 years, 2 months ago (2013-02-27 05:58:58 UTC) #6
Keith
On 2013/02/27 05:58:58, Keith wrote: > (and @code{\whateverItWasCalled f'} is available Oops. It was \oldTransposition ...
11 years, 2 months ago (2013-02-27 07:40:59 UTC) #7
dak
On 2013/02/27 07:40:59, Keith wrote: > On 2013/02/27 05:58:58, Keith wrote: > > > (and ...
11 years, 2 months ago (2013-02-27 08:47:21 UTC) #8
Graham Percival
LGTM
11 years, 2 months ago (2013-02-28 23:48:27 UTC) #9
Keith
On Wed, 27 Feb 2013 00:47:21 -0800, <dak@gnu.org> wrote: > On 2013/02/27 07:40:59, Keith wrote: ...
11 years, 2 months ago (2013-03-03 07:58:54 UTC) #10
dak
"Keith OHara" <k-ohara5a5a@oco.net> writes: > On Wed, 27 Feb 2013 00:47:21 -0800, <dak@gnu.org> wrote: > ...
11 years, 2 months ago (2013-03-03 08:18:27 UTC) #11
Keith
11 years, 2 months ago (2013-03-04 04:15:12 UTC) #12
On Sun, 03 Mar 2013 00:18:09 -0800, David Kastrup <dak@gnu.org> wrote:

> "Keith OHara" <k-ohara5a5a@oco.net> writes:
>
>> The \oldTransposition you suggested in
>> <https://codereview.appspot.com/7303057> has the required trickery,
>> and I just re-checked that it works fine.

> I'd prefer not giving it a name of its own, instead load a Scheme file
> on-demand that redefines \transposition ...

The backward-compatible \oldTransposition is *much* more useful if it can be
used alongside \transposition.  If you were unfortunate enough to depend on the
misfeature, you will probably want to change only the few instances of
\transpose to \oldTransposition necessary to make cue notes and/or MIDI come out
correctly under 2.17.11, and them move or adjust the \oldTranpositions to the
correct \transposition, checking the output as you go.

> Just issue a diagnostic when seeing \transposition?

Yes, just one message per file that contains "\transposition ".  No automatic
conversion because most uses will need no change, and we cannot tell which uses
might be passed through a \transpose operation.

> Patterns for that will not exactly be easy to make since
> instrumentTransposition is usually an alist.

No convert-ly rule at all is the most appropriate here, because every known
setting of instrumentTransposition /tried/ to use the /new/ behavior (and thus
would not have worked previously).

For example in <http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=119> for
version 2.9, you find
     \tag #'horn-A {
         \key c \major
         \set Staff . instrumentTransposition = #(ly:make-pitch -1 5 0)
         \clef treble }
There are no cues, so no problems in the printed output, but the MIDI is rather
unharmonious.

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b