void noTone(uint8_t pin)
noTone() stops generating a tone on an I/O pin which has previously been started through the tone() function.
noTone() conforms to the Arduino 1.6.x API.
Generate a 1 second, 2KHz tone using the non-blocking functionality:
tone(4, 2000, -1); delay(1000); noTone(4);