The following code works with some wav files, but with others I get, \"InvalidOperationException was unhandled. Message=Sound API only supports playing PCM wave files.\"
Look at audiolab library from mitov. It works great