X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpitch.cc;h=bc8a9e45a6cd9b8467ecc3af1344deed84da3998;hb=4dba22cdae8ec59067ab18a3ae2f73522fc26e8c;hp=fa68b2d1bab2a4041653d2148648b4bc5dd00658;hpb=00e3e15364b9d3c94cda1bcab9f889bb95f6832d;p=lilypond.git diff --git a/lily/pitch.cc b/lily/pitch.cc index fa68b2d1ba..bc8a9e45a6 100644 --- a/lily/pitch.cc +++ b/lily/pitch.cc @@ -67,6 +67,10 @@ Pitch::tone_pitch () const o--; } + /* + we're effictively hardcoding the octave to 6 whole-tones, + which is as arbitrary as coding it to 1200 cents + */ Rational tones ((o + n / scale_->step_tones_.size ()) * 6, 1); tones += scale_->step_tones_[n % scale_->step_tones_.size ()];