The class D amplifier or switched amplifier is an electronic amplifier that operates as electronic switches, not as linear gain elements, as in other amplifiers. They operate by rapidly switching back and forth between the supply lines, being supplied by a modulator using pulse width, pulse intensity, or related techniques to encode the audio input into a pulse sequence.