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 ()];
alteration_ = Rational (0);
alteration_ -= tone_pitch () - pitch;
}
- while (alteration_ < Rational(-1))
+ while (alteration_ < Rational (-1))
{
if (notename_ == 0)
{