Classes G and H offer enhancements to the basic class AB design. Class G uses multiple power supply rails of various voltages, rapidly switching to a higher voltage when the audio signal wave has a peak value that is a higher voltage than the level of supply voltage, and switching back to a lower supply voltage when the peak value of the audio signal reduces. By switching the supply voltage to a higher level only when the largest output signals are present and then switching back to a lower level, average power consumption, and therefore heat caused by wasted power is reduced.
Class H improves on class G by continually varying the supply voltage at any time where the audio signal exceeds a particular threshold level. The power supply voltage tracks the peak level of the signal to be only slightly higher than the instantaneous value of the audio wave, returning to its lower level once the signal peak value falls below the threshold level again. Both classes G and H therefore require considerably more complex power supplies, which adds to the cost of implementing these features.