generating signals duration set to 1 sec.
Sound playback and stop