WAV File Playing Heavy Static / Won't Play on Device

Hi all,

Trying to get a sound loop to play (it’s a 0.5s hum from a computer) - using WAV because of MP3 loop gaps.

When I play it through the simulator I get a massive amount of static.  The sound won’t play at all on the device.  Sound plays fine on my PC via MPC and Adobe Audition.

If I convert to MP3 the sound plays fine both in simulator and on device, but has the loop-gap problem.

I tried extending the file to over 1s but it’s still full-static.  I even tried running it through the “Audio Player” Corona sample project and I get the same problem.

Any ideas?

Answered my own question…  WAV had a Bit Depth of 24.  Converted it to 32 and it works fine now.

EDIT:

Turns out 32-bit didn’t on my device.  WAVs need to be 16-bit as per Corona docs:

https://docs.coronalabs.com/guide/media/audioSystem/index.html#formats

Cheers.

Answered my own question…  WAV had a Bit Depth of 24.  Converted it to 32 and it works fine now.

EDIT:

Turns out 32-bit didn’t on my device.  WAVs need to be 16-bit as per Corona docs:

https://docs.coronalabs.com/guide/media/audioSystem/index.html#formats

Cheers.