2007/10/10, Rune Zedeler <[EMAIL PROTECTED]>:
> void
> Pitch::transpose (Pitch delta)
> {
>Rational new_alter = tone_pitch () + delta.tone_pitch ();
>
>octave_ += delta.octave_;
>notename_ += delta.notename_;
>alteration_ += new_alter - tone_pitch ();
>
>normalize ();
> }
>
> Th
I am looking into splitting pitch into pitchclass and pitch.
Therefore I need to understand what is going on in the pitch class.
Some questions (inserted as c++-comments):
void
Pitch::normalize ()
{
Rational pitch = tone_pitch ();
while (notename_ >= (int) scale_->step_tones_.size ())
{