If it's PWM indicating the engine speed, this could be fed into the headlight/phone mute line and you could write a kernel driver to scale the volume accordingly.

Hugo