A commonly used standard for high quality sound reproduction is the Waveform Audio File Format, with sound data usually stored in WAV files. The .NET framework provides the SoundPlayer class to allow simple playback of such files.
Waveform Audio File FormatThe Waveform Audio File Format is a standard format for the storage of audio data. WAV files are ideal for storing high quality sounds though, as files are generally not compressed, the duration of such files is usually short. The format is often used for sound effects and simple user feedback. For example, Microsoft Windows uses WAV files for many system sounds.
SoundPlayer ClassThe System.Media namespace contains a set of classes that can be used to play sounds. When you wish to play WAV files, you can use the SoundPlayer class. This includes methods that permit synchronous and asynchronous audio playback and that allow sounds to be preloaded into memory for improved performance. Read more: BlackWasp
Waveform Audio File FormatThe Waveform Audio File Format is a standard format for the storage of audio data. WAV files are ideal for storing high quality sounds though, as files are generally not compressed, the duration of such files is usually short. The format is often used for sound effects and simple user feedback. For example, Microsoft Windows uses WAV files for many system sounds.
SoundPlayer ClassThe System.Media namespace contains a set of classes that can be used to play sounds. When you wish to play WAV files, you can use the SoundPlayer class. This includes methods that permit synchronous and asynchronous audio playback and that allow sounds to be preloaded into memory for improved performance. Read more: BlackWasp