Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

play sound c#

//Library for using the Play() and Stop() method 
using System.Media

SoundPlayer player = new System.Media.SoundPlayer(@"c:mywavfile.wav");
//Play the selected sound from the path
player.Play();
Source by coders911.org #
 
PREVIOUS NEXT
Tagged: #play #sound
ADD COMMENT
Topic
Name
6+1 =