Hi all,
Since sound() is more stable, I am thinking of using that as my solution. However, I am facing a few limitations when using the sound().
I need to do a repeat function of the file, but, I have no idea of how long is the selected wavefile in the first place. (I allow user to choose different wavfile, in which case I cannot make the time constant). fmod.LengthMs will return the wavfile but, I need to play fmod.Play in order to know that. Unfortunately, if I play using fmod.Play, my system for some reasons crashes.
The other limitation I found is no volume control. How can I control the volume using sound()?
The third limitation is that while I am playing a wavefile using sound, and I decide to change to another wavfile using sound(), I cant just call the sound function with the wavefile name as a parameter, directly. I need to stop the sound() first by calling sound(""). Then, I can call the sound(new wavefile). Is that right?
Does anyone face the same problems as I do?? If anyone has a better suggestion besides, using sound(), please advise. Very much appreciated.
Thanks.
:icon_clap: