A power converter controller includes a fractional valley controller configured to determine a target number of valleys of a resonant waveform at a drain node of a main switch, the target number of valleys corresponding to a desired off-time of the main switch, the fractional valley controller modulating an off-time of the main switch between two or more modulated off-times. The target number of valleys corresponds to a non-integer number of valleys of the resonant waveform at the drain node of the main switch. Each of the modulated off-times of the main switch corresponds to an integer number of valleys, and the two or more modulated off-times of the main switch has an average value that corresponds to the desired off-time.