Are you talking about letting the g-code in mach3 control the spindle speed through an extra setup of electrical wiring to the spindle motor?
I would be soo interested if somebody had the solution for you, because I would also benefit.
I suppose that if the spindle was a brush motor, you could rig up a four-axis kit to the spindle motor... over at the gecko site, there exist two controllers for DC Brush motor drives!
Gecko Drive for dc brush motor
So if you did indeed purchase a 4-axis controller kit, could you make sure the MACH3 progrom recognized the the 4th axis as the spindle motor to adjust RPM only and not the typical 4th axis?!
It would look like this : Mach3 > 4-axis kit > 3 stepper motor controllers & 1 brush motor controller > 3 Stepper motors and 1 Brush motor for spindle
I am very interested to hear back! (Otherwise it would mean you would have to set up speeds manually without this spindle motor setup.)