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

Issue 106190043: Pitch alterations use SCM rather than flower rationals

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

Description

Pitch alterations use SCM rather than flower rationals This is a first step for replacing the Rational data type with the built-in rationals of GUILE. Also contains commits: Don't call Pitch::Pitch with more arguments than necessary. Pitch::Pitch (int, int) is declared but not defined This caters for the definition by making the last argument of Pitch::Pitch (int, int, Rational) a default argument.

Patch Set 1 #

Patch Set 2 : Hopefully fix ambitus #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -137 lines) Patch
M lily/accidental-engraver.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M lily/accidental-placement.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M lily/ambitus-engraver.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M lily/chord-name-engraver.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/drum-note-performer.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/include/lily-guile.hh View 1 chunk +5 lines, -0 lines 0 comments Download
M lily/include/pitch.hh View 5 chunks +9 lines, -15 lines 0 comments Download
M lily/include/scale.hh View 1 chunk +4 lines, -5 lines 0 comments Download
M lily/key-engraver.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/key-performer.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M lily/lily-guile.cc View 1 chunk +1 line, -0 lines 0 comments Download
M lily/midi-item.cc View 1 chunk +10 lines, -8 lines 0 comments Download
M lily/music-scheme.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M lily/note-heads-engraver.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/parser.yy View 7 chunks +10 lines, -10 lines 0 comments Download
M lily/pitch.cc View 13 chunks +29 lines, -29 lines 0 comments Download
M lily/pitch-interval.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M lily/pitch-scheme.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M lily/pitched-trill-engraver.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M lily/scale.cc View 5 chunks +17 lines, -22 lines 0 comments Download
M lily/slur-scoring.cc View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 3
dak
Hopefully fix ambitus
9 years, 10 months ago (2014-06-24 19:54:11 UTC) #1
Devon Schudy
Using Guile rationals is good on principle, but it's not great for readability. It makes ...
9 years, 10 months ago (2014-06-27 04:06:40 UTC) #2
lemzwerg
9 years, 10 months ago (2014-06-27 04:21:45 UTC) #3
Or maybe some cpp macro trickery improves the legibility.
Sign in to reply to this message.

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