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

Issue 5554048: Implements rhythmic-music-iterator (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by MikeSol
Modified:
12 years, 3 months ago
Reviewers:
mike, dak
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Implements rhythmic-music-iterator

Patch Set 1 #

Patch Set 2 : reports event in iterator #

Total comments: 2

Patch Set 3 : Clears the articulation list to prevent new-fingering-engraver from picking up articulations. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -0 lines) Patch
A lily/include/rhythmic-music-iterator.hh View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A lily/rhythmic-music-iterator.cc View 1 2 1 chunk +55 lines, -0 lines 1 comment Download
M scm/define-music-types.scm View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10
dak
http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc#newcode41 lily/rhythmic-music-iterator.cc:41: report_event (get_music ()); I suppose that one has to ...
12 years, 3 months ago (2012-01-18 13:38:38 UTC) #1
MikeSol
http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5554048/diff/2001/lily/rhythmic-music-iterator.cc#newcode41 lily/rhythmic-music-iterator.cc:41: report_event (get_music ()); On 2012/01/18 13:38:39, dak wrote: > ...
12 years, 3 months ago (2012-01-18 13:56:25 UTC) #2
dak
http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc File lily/rhythmic-music-iterator.cc (right): http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc#newcode42 lily/rhythmic-music-iterator.cc:42: get_music ()->set_property ("articulations", SCM_EOL); I am not actually comfortable ...
12 years, 3 months ago (2012-01-18 14:27:53 UTC) #3
MikeSol
On 2012/01/18 14:27:53, dak wrote: > http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc > File lily/rhythmic-music-iterator.cc (right): > > http://codereview.appspot.com/5554048/diff/5001/lily/rhythmic-music-iterator.cc#newcode42 > ...
12 years, 3 months ago (2012-01-18 14:36:57 UTC) #4
dak
On 2012/01/18 14:36:57, MikeSol wrote: > On 2012/01/18 14:27:53, dak wrote: > > Are iterators ...
12 years, 3 months ago (2012-01-18 14:53:28 UTC) #5
dak
On 2012/01/18 14:53:28, dak wrote: > Then > rhythmic_iterator could just override it. Better yet, ...
12 years, 3 months ago (2012-01-18 15:23:35 UTC) #6
mike_apollinemike.com
On Jan 18, 2012, at 3:53 PM, dak@gnu.org wrote: > Where would be the point? ...
12 years, 3 months ago (2012-01-18 15:28:42 UTC) #7
dak
On 2012/01/18 15:28:42, mike_apollinemike.com wrote: > I don't think there's a risk that one engraver ...
12 years, 3 months ago (2012-01-18 15:55:35 UTC) #8
dak
On 2012/01/18 15:55:35, dak wrote: > On 2012/01/18 15:28:42, http://mike_apollinemike.com wrote: > > > I ...
12 years, 3 months ago (2012-01-18 16:11:46 UTC) #9
MikeSol
12 years, 3 months ago (2012-01-18 16:14:44 UTC) #10
The tuplet-iterator.cc has a process method that uses similar logic as that
above: it does parts of what the report_music function does, because as you
correctly state, the function does very little.

LGTM - if you can, please adopt this patch so that you can coordinate getting it
and others connected to it into the source.
Sign in to reply to this message.

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