amplitude modulation and demodulation waveforms