cleanup
press 'r' -> noteOn rectangular wave, and press 's' -> noteOn sine wave.