Rewrote the music gen code with integer arithmetic. Size 1060 bytes.