Play wav from byte array

Hi there,

Is there a way to play a wav which is stored in a byte array?

You can use openal to play it:

I’ve used naudio to play wav.(Windows only)

Thank you for the answers.

This has a quite obvious solution though, within the bounds of the monogame framework too:

SoundEffect soundEffect = new SoundEffect(byteArray, 44000, AudioChannels.Stereo);