Inverter consists of arrays of controlled electronic switches. Through controllers, signals of specific frequency and pattern are generated to feed control terminals of these switches. So inverter takes control of frequency. Moreover, magnitude of output waveform depends on magnitude of input DC voltage. So voltage is another control parameter.