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

Issue 29550043: Grace notes shouldn't shorten the previous note unless they overlap with it.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Devon Schudy
Modified:
10 years, 5 months ago
Reviewers:
janek, dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Grace notes shouldn't shorten the previous note unless they overlap with it. Previously a grace note after a rest shortened the last note before the rest. This patch shortens the previous note to the start of the grace note rather than by the length of the grace note, so notes before rests aren't affected unless the grace notes are longer than the rest.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Clarify when notes are shortened. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
A input/regression/midi-grace-after-rest.ly View 1 chunk +14 lines, -0 lines 0 comments Download
M lily/note-performer.cc View 1 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4
Devon Schudy
Here's a fix for a minor MIDI bug: grace notes after rests shorten the last ...
10 years, 5 months ago (2013-11-20 08:17:53 UTC) #1
dak
https://codereview.appspot.com/29550043/diff/1/lily/note-performer.cc File lily/note-performer.cc (right): https://codereview.appspot.com/29550043/diff/1/lily/note-performer.cc#newcode100 lily/note-performer.cc:100: tie_head->length_mom_ = min (tie_head->length_mom_, Ok, I've brooded a lot ...
10 years, 5 months ago (2013-11-21 09:00:49 UTC) #2
Devon Schudy
Clarify when notes are shortened.
10 years, 5 months ago (2013-11-21 15:44:11 UTC) #3
janek
10 years, 5 months ago (2013-11-25 13:39:30 UTC) #4
LGTM, thanks!
Sign in to reply to this message.

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