Linear half-wave rectification of modulated sinusoids