Amplitude shift keying (ASK) is a form of amplitude modulation that represents digital data as variations in the amplitude of a carrier wave. It imparts discrete amplitude levels to a sinusoidal carrier signal. ASK can be binary, using two amplitude levels, or multilevel using more than two levels. The modulation is performed by band-limiting the signal to round off sharp discontinuities before transmission. Demodulation recovers the band-limited bit stream and regenerates the binary bit stream. ASK is commonly used to transmit digital data over optical fiber and transmit Morse code using LED transmitters.