In most of the areas I've covered throughout this text, WPF allows the programmer far more expressiveness than in previous frameworks. The audio features it provides, however, aren't particularly impressive. Instead, they are little more than wrappers around Win32 APIs or the Windows Media Player.
WPF provides four classes for producing sound. They are the following—starting with the simplest (and least useful) and progressing to the most useful:
SystemSounds class can produce several of the commonly used operating system sounds.
SoundPlayer class is used for short, simple
.wav format files where the only thing you require is to be able to start the sound file.
MediaPlayer class allows you to ...