Playing a .WAV file in .NET
I'm trying to write a SAMPLER program, where each key has a different sound (a WAV file). Can someone explain to me or give me a link to an explanation where i can learn how to play the WAV files? If it matters, I'm working with Microsoft Visual C# and using WinForms. SoundPlayer simpleSound = new SoundPlayer(strAudioFilePath); simpleSound.Play(); use fmod, which is simply the best sound library in the whole universe fortunately, they seem to provide a C# wrapper for the best audio API you could try to imagine, and you won't have to change a single line of code to make your code working on