A Class D amplifier includes a ramp generator that generates a ramp signal
and an inverted ramp signal. A signal generator generates first, second,
third and fourth signals by comparing the ramp and inverted ramp signals
to an input signal. A frequency of the ramp signal is approximately two
orders of magnitude higher than a frequency of the input signal. The
signal generator transitions from a first state to a second state of a
first control signal after one of the first and second signals occurs,
transitions from a first state to a second state of a second control
signal after one of the third and fourth signals occurs, and transitions
from the second state to the first state of one of the first and second
control signals when the other of the first and second control signals
transitions to the second state. An output stage includes first and
second switches that are controlled based on the first and second control
signals, respectively, and generates output current based on the first
and second control signals.