Hi,
Does any body have an example (in C#) of how to play a .wav file backwards?
Thanks,
Raymond
Hi Raymond,
If you would like to play a .wav file in .NET 2.0, you can try to refer to the following sample codes:
Code Blockusing System.Media; SoundPlayer player = new SoundPlayer(); string path = "C:\\windows\\media\\test.wav"; player.SoundLocation = path; //Set the path player.Play(); //play it
using System.Media;
SoundPlayer player = new SoundPlayer();
string path = "C:\\windows\\media\\test.wav";
player.SoundLocation = path; //Set the path
player.Play(); //play it
Try to check out this document about SoundPlayer class in .NET 2.0 for details - http://msdn2.microsoft.com/en-us/library/system.media.soundplayer.aspx
Hope this helps,
Regards,
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?