You could plug the genny into a UPS and run the gear off the the UPS.
You would want a line interactive UPS,
something like this, that type of ups fixes the input wave.
Cheap option is to run a battery charger off the genny and charge a car battery.