change WaveGenerator