When I wrote that this morning I was convinced that you could divide 128 by 12.
Then I had a coffee ;-)
Fixed that. I just prefer shorter code, especially if a single instruction division will achieve the same thing (stm32 and lpc17 have a hardware divider). So it's not only more concise it's also faster (in a lot of cases). On a PIC, the mod 12 part isn't necessarily the smartest thing to do though :-) Then again, if you really wanted fast you'd pre-calc the octave incrementer beforehand anyways.
Anyways, move along, nothing to see here.