What is an AFM file?

The audio generation and the servo control both use the same timer so they will not work together. You might be able to hack one or other library but perhaps the easiest soloution would be to use some hardware to drive the servos.
Something like Overview | Adafruit PCA9685 16-Channel Servo Driver | Adafruit Learning System