Amplitude Modulation in Electrostatic Plasma Waves: A study in quantum and relativistic regimes