LonamiWebs/Klooni1010

Sound problem

Fohroer opened this issue · 6 comments

Sound dissapears in about half of times.

I've reproduced this problem on a different device. You're using Android, right? This is more like a problem with how libGDX handles the sound, not mine (although the problem is more from Android itself).

The deal is when using .setPitch(). It works fine on desktop and on my phone, so I don't know what to do about it. If I didn't use it and all the pieces had the exact same sound, it would get boring in my opinion.

Let me keep a StackOverflow question related to this here: Libgdx Sound | setPitch causes Sound object to stop playing/making noise. I was tired of having it opened all the time… :P

A possible workaround could be: Instead of using pitch function, pre-process the audio with the effect in some tool (e.g. audacity) and load it a second sound file.

Instead of using pitch function, pre-process the audio

Maybe… Or maybe just remove the pitch completely, it's not that much of an addition. I'd simply like to know who else has this issue? Is it hardware specific or it depends on the Android version? Clueless still.

Closing due to inactivity. Nobody else has had this issue (and if they did, they didn't report it).

OK.