Play Sounds in C#

Hi,

I thought it might be nice to add sounds to MSRS applications.

Here is one way to do that:

http://www.compactech.com/microsoft/misc/Uri_Kartoun_CSharp_PlayWav_August_6_2007.zip

I included two samples I found: "applause.wav", and "crowd.wav" (this can be used for the soccer simulation).

Of course, the Internet is full with ".wav" samples. One way to search is to go tohttp://alltheweb.com/, type a keyword, and choose "Audio".

In addition, there are softwares that can produce ".wav" files according to the text you type into them (for example: Ultra Hal Text-to-Speech Reader).

Uri.

[1032 byte] By [UriKartoun] at [2008-1-7]

Microsoft Robotics Studio

Site Classified