Adjusting frequency and gas percentage