waveAmplitude could now be modified as well