[SOLVED] Imported wavs sound corrupted

Hi all, I’m adding .wav sound effects into my game, using the MonoGame Pipeline Tool as:

Build Action: build
Importer: Wav Importer - MonoGame
Processor: Sound Effect - MonoGame

Then loading them and playing them like this:

private SoundEffect _fxCatMeow;
_fxCatMeow = Content.Load<SoundEffect>("cat_meow");

This all works and the sound plays but it seems compressed and corrupted. Instead of a ‘meow’ we get a shorter, corrupt sounding screech noise, for example.

The wavs plays perfectly normally on my desktop, and I’ve deleted them and re-added them with no success.

Any ideas why my wavs are acting like this?


Solved my own problem.

Reference: https://github.com/MonoGame/MonoGame/issues/5534

I converted the wav to WAV (Microsoft) signed 16-bit PCM and re-imported it and it worked fine.

All the wavs came from the same source so I guess they were all 32 bit and there’s still an issue with that?