A Class D amplifier comprises a ramp generator that generates a first
reference signal and a second reference signal. A signal generator
generates a first signal as the first reference signal exceeds an input
signal to the Class D amplifier and generates the first signal as the
second reference signal exceeds the input signal. The signal generator
generates a second signal as the first reference signal falls below the
input signal and generates the second signal as the second reference
signal falls below the input signal.