A system and method for controlling the speed of an engine includes
determining a desired engine power output and engine speed, and
determining whether the desired engine speed is within one of a number of
predetermined engine speed ranges. It is then determined whether a
noise-vibration level for the vehicle is within a target range when it is
determined that the desired engine speed is within one of the
predetermined engine speed ranges. The noise-vibration level is a
function of at least one of a corresponding vibration level for one or
more vehicle mechanical systems, and a noise level for the passenger
compartment for the engine operating at the desired engine speed. The
engine is then controlled at the desired engine speed when the determined
noise-vibration level is within a target range, and it is determined that
the desired engine speed is within one of the predetermined engine speed
ranges.