rectangleWave