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

Issue 2726043: Clef support for cue notes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Reinhold
Modified:
13 years, 3 months ago
Reviewers:
felipeg.assis, Neil Puttock, reinhold
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Clef support for cue notes -) Added \cleffedCueDuring, which allows to specify a clef for the cue notes. At the end of the cue section, the clef is automatically reset to the containing voice's clef. -) Cue clefs are implemented as CueClef and CueEndClef grobs, created by a dedicated Cue_clef_engraver, which reads some cueClef* context properties. -) After a line break, a cue clef does NOT override the global clef of the containing voice, but prints (in smaller size) after the containing clef.

Patch Set 1 #

Total comments: 28

Patch Set 2 : Final implementation of cue clefs (split up test cases, correct break-visibility, spacing, etc.) #

Total comments: 28

Patch Set 3 : Fix issues identified by Neil #

Unified diffs Side-by-side diffs Delta from patch set Stats (+543 lines, -10 lines) Patch
M Documentation/changes.tely View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A input/regression/cue-clef.ly View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A input/regression/cue-clef-begin-of-score.ly View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A input/regression/cue-clef-new-line.ly View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A input/regression/cue-clef-octavation.ly View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A lily/cue-clef-engraver.cc View 1 2 1 chunk +231 lines, -0 lines 0 comments Download
M lily/pitch-scheme.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ly/engraver-init.ly View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ly/music-functions-init.ly View 1 2 2 chunks +23 lines, -2 lines 0 comments Download
M scm/define-context-properties.scm View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M scm/define-grobs.scm View 1 2 11 chunks +75 lines, -6 lines 0 comments Download
M scm/define-music-properties.scm View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M scm/music-functions.scm View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M scm/parser-clef.scm View 1 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 19
Carl
LGTM. Nicely done! Carl http://codereview.appspot.com/2726043/diff/1/input/regression/cue-clef.ly File input/regression/cue-clef.ly (right): http://codereview.appspot.com/2726043/diff/1/input/regression/cue-clef.ly#newcode1 input/regression/cue-clef.ly:1: \version "2.11.39" 2.13.39 http://codereview.appspot.com/2726043/diff/1/lily/cue-clef-engraver.cc File ...
13 years, 5 months ago (2010-10-31 18:39:38 UTC) #1
Valentin Villenave
Hi Reinhold, it certainly looks good! I haven't tested your patch set though, so these ...
13 years, 5 months ago (2010-10-31 19:32:49 UTC) #2
Graham Percival
On Sun, Oct 31, 2010 at 07:32:50PM +0000, v.villenave@gmail.com wrote: > http://codereview.appspot.com/2726043/diff/1/input/regression/cue-clef.ly#newcode4 > input/regression/cue-clef.ly:4: texidoc ...
13 years, 5 months ago (2010-10-31 19:43:24 UTC) #3
lemzwerg
13 years, 5 months ago (2010-10-31 19:55:27 UTC) #4
lemzwerg
Oops, somehow I've just created an empty comment. http://codereview.appspot.com/2726043/diff/1/ly/music-functions-init.ly File ly/music-functions-init.ly (right): http://codereview.appspot.com/2726043/diff/1/ly/music-functions-init.ly#newcode238 ly/music-functions-init.ly:238: cleffedCueDuring ...
13 years, 5 months ago (2010-10-31 19:59:26 UTC) #5
Valentin Villenave
On Sun, Oct 31, 2010 at 8:43 PM, Graham Percival <graham@percival-music.ca> wrote: > In correct ...
13 years, 5 months ago (2010-10-31 22:12:40 UTC) #6
James.Lowe_datacore.com
-----Original Message----- From: lilypond-devel-bounces+james.lowe=datacore.com@gnu.org on behalf of Valentin Villenave Sent: Sun 31/10/2010 22:12 To: Graham ...
13 years, 5 months ago (2010-10-31 22:26:55 UTC) #7
Trevor Daniels
Code not checked; and I still don't understand Scheme indentation, but at least it ought ...
13 years, 5 months ago (2010-11-01 17:22:12 UTC) #8
Neil Puttock
Hi Reinhold, I think there's some scope for reducing code duplication in the engraver and ...
13 years, 5 months ago (2010-11-25 22:50:40 UTC) #9
Reinhold
On 2010/11/25 22:50:40, Neil Puttock wrote: > I think there's some scope for reducing code ...
13 years, 4 months ago (2010-12-27 16:40:09 UTC) #10
Carl
On 2010/12/27 16:40:09, Reinhold wrote: > On 2010/11/25 22:50:40, Neil Puttock wrote: > > I ...
13 years, 4 months ago (2010-12-27 19:27:05 UTC) #11
Reinhold
http://codereview.appspot.com/2726043/diff/1/ly/music-functions-init.ly File ly/music-functions-init.ly (right): http://codereview.appspot.com/2726043/diff/1/ly/music-functions-init.ly#newcode250 ly/music-functions-init.ly:250: 'origin location)) On 2010/11/25 22:50:40, Neil Puttock wrote: > ...
13 years, 3 months ago (2010-12-28 20:26:54 UTC) #12
Neil Puttock
Hi Reinhold, You're missing definitions for explicitCueClefVisibility and quoted-music-clef. Cheers, Neil http://codereview.appspot.com/2726043/diff/21001/Documentation/changes.tely File Documentation/changes.tely (right): ...
13 years, 3 months ago (2010-12-28 23:20:45 UTC) #13
Neil Puttock
On 2010/12/28 20:26:54, Reinhold wrote: > Okay, I just copied this from cueDuring. I notice ...
13 years, 3 months ago (2010-12-28 23:32:18 UTC) #14
Reinhold
Thanks, Neil, for all your comments (and indent nitpicks ;) ). I have included/fixed all ...
13 years, 3 months ago (2010-12-29 00:47:50 UTC) #15
Neil Puttock
LGTM.
13 years, 3 months ago (2010-12-29 00:57:11 UTC) #16
Reinhold
On 2010/12/28 23:32:18, Neil Puttock wrote: > On 2010/12/28 20:26:54, Reinhold wrote: > > > ...
13 years, 3 months ago (2010-12-29 01:00:21 UTC) #17
felipeg.assis_gmail.com
Hi, I have just updated my local repository, and noticed that this patch introduces a ...
13 years, 3 months ago (2010-12-29 08:06:03 UTC) #18
reinhold_kainhofer.com
13 years, 3 months ago (2010-12-29 10:58:36 UTC) #19
Am Mittwoch, 29. Dezember 2010, um 09:06:01 schrieb Felipe Gonçalves Assis:
> I have just updated my local repository, and noticed that this
> patch introduces a compilation error.
> 
> In fact, there is an undefined variable in lily/cue-clef-engraver.cc:175
> (compare with lily/clef-engraver.cc). I am attaching a simple patch
> that solves the issue, but you might want to review the related code.

Thanks, it seems I missed this occurrence of forceClef, when I ripped out that 
feature (I don't see any need for it with cue clefs). I have no idea why the 
compilation didn't fail here, though...

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, reinhold@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
Sign in to reply to this message.

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