Effect of an electric field on the spectrum of oscillations in an inhomogeneous plasma