We study the dynamics of a classical nonlinear oscillator subject to noise and driven by a sinusoidal force. In particular, we give an analytical identification of the mechanisms responsible for the supernarrow peaks observed recently in the spectrum of a mechanical realization of the system. Our approach, based on the application of averaging techniques, simulates standard detection schemes used in practice. The spectral peaks, detected in a range of parameters corresponding to the existence of two attractors in the deterministic system, are traced to characteristics already present in the linearized stochastic equations. It is found that, for specific variations of the parameters, the characteristic frequencies near the attractors converge on the driving frequency, and, as a consequence, the widths of the peaks in the spectrum are significantly reduced. The implications of the study to the control of the observed coherent response of the system are discussed.