sound_play cuts sound abroptly

asked 2014-06-17 16:09:46 -0600

Pototo gravatar image

Hi,

I noticed that only one object of SoundClient can only play one sound at a time. For instance, if I start playing a file that is 5 seconds long, and then I try playing another sound before the previous sound finishes, the SoundClient object will just stop the previous sound before it finished, and then plays the new sound. I would like to start the sound before the old one finishes in order to give an effect of one single really long sound that is being played.

I tried fading out the sound so that the transition is smoother, but you can still notice where SoundClient stops the sound and plays the new file. Is there an option to set that up?

And I don't know if using two objects is feasible because then I have to re-adjust the synchronization between the two objects every time I want to use a different set of files.

edit retag flag offensive close merge delete

Comments

Sorry...two objects does not work either because they cut each other. So only once instance of SoundClient can be initiated

Pototo gravatar image Pototo  ( 2014-06-17 16:36:01 -0600 )edit