I'm trying to loop an alarm sound indefinitely but it only plays it for a moment and then stops. I noticed that when I change my clock TimerInterval to 500 it plays for half a sec before cutting off, and if set to 2000 it plays for two sec, etc.
Could somebody help me with this?
Thanks in advance.
EDIT: I finally understand my mistake. I removed the "not get global started" in my if condition. Then I can still keep the "set global started" to true without it causing a problem.