Raman scattering in a nearly resonant density ripple