Probably I wrote something not correct before. I just want to set a playback time of a looping alarm sound without turning it off manually. I.e, player press a button, alarm starts playing, it sounds for a ten seconds and then turns off.
Greetings, can someone help me, I need to set the duration of the sound,I press the button, it plays for 10 seconds then turns off, until I press the button again. how to do it?