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

Issue 7101045: Better staggering of accidental placements. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by MikeSol
Modified:
11 years, 1 month ago
Reviewers:
Keith, benko.pal, mike7, lemzwerg
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Better staggering of accidental placements. Makes sure that, on average, accidentals are closer to the notes while preserving octaves lining up.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Allows octave accidentals to be staggered in different voices. #

Total comments: 1

Patch Set 3 : Changes name of property, fixes issue with longs #

Patch Set 4 : Uses pair of notename and translator to hash accidentals #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -19 lines) Patch
A input/regression/accidental-grouping.ly View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M lily/accidental-engraver.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M lily/accidental-placement.cc View 1 2 3 5 chunks +41 lines, -16 lines 0 comments Download
M lily/ambitus-engraver.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M lily/include/accidental-placement.hh View 1 1 chunk +1 line, -1 line 0 comments Download
M scm/define-context-properties.scm View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Keith
Obfuscated, but so was the old code. I'll leave here the notes I used to ...
11 years, 3 months ago (2013-01-13 21:28:14 UTC) #1
benko.pal
https://codereview.appspot.com/7101045/diff/1/lily/accidental-placement.cc File lily/accidental-placement.cc (right): https://codereview.appspot.com/7101045/diff/1/lily/accidental-placement.cc#newcode210 lily/accidental-placement.cc:210: int parity = 1; could you use bool (or ...
11 years, 3 months ago (2013-01-13 21:48:20 UTC) #2
Keith
LilyPond is too complicated. The manual explains engravers and contexts, and you you can \layout ...
11 years, 3 months ago (2013-01-14 20:30:47 UTC) #3
mike7
On 14 janv. 2013, at 21:30, k-ohara5a5a@oco.net wrote: > LilyPond is too complicated. > > ...
11 years, 3 months ago (2013-01-14 20:40:47 UTC) #4
lemzwerg
11 years, 3 months ago (2013-01-15 01:52:42 UTC) #5
https://codereview.appspot.com/7101045/diff/5001/scm/define-context-propertie...
File scm/define-context-properties.scm (right):

https://codereview.appspot.com/7101045/diff/5001/scm/define-context-propertie...
scm/define-context-properties.scm:310:
(horizontallyStaggerDifferentVoiceOctaveAccidentals ,boolean?
This name is a joke, isn't it?  It has a length of bloody 50 characters!  By all
means, please replace it with some *much* shorter, say,

  \set Staff . accidentalGrouping = #'voice

and

  \set Staff . accidentalGrouping = #'staff
Sign in to reply to this message.

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