Answered Play a *.wav file backwards

  • Monday, December 03, 2007 10:40 AM
     
     

     

    Hi,

     

    Does any body have an example (in C#) of how to play a .wav file backwards?

     

    Thanks,

    Raymond

All Replies

  • Tuesday, December 04, 2007 9:11 AM
    Moderator
     
     Answered

    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 Block
    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,