You are not logged in.

1

Saturday, November 21st 2020, 2:58pm

play sound again

Dear All,

createsound(flame1, 'flame1.mp3');
...
playsound(flame1); - OK

At later stage if I call "playsound(flame1);" once again it gives "WARNING: playsound: no sound with name 'flame1' found!", meaning it's possible to play it only once.
How to keep it for multiply usage?


regards,
Granton

2

Saturday, December 5th 2020, 11:55am

Solved, by adding .oncomplete... not right, but at least this is a temporary solution:
createsound(flame1, 'flame1.mp3');
set(sound[flame1].oncomplete, "createsound(flame1, 'flame1.mp3');");