A question for all you musical Pythagoreans - how do you handle songs with many key changes, accidentals, chromatics, passing tones, and melodies that span octaves ?

For example, if a song is written in the key of C, and the notes of the melody are:

A C(viii) Bb C E Eb D C(i) C(viii), what would your numbers be ?

Would they be:

6 1 b7 1 3 b3 2 1 8