|
... middle C for 4 beats } // jump back to the beginning of the stream stream.Position = 0 ; // play the wave data in the MemoryStream using (System.Media.SoundPlayer ...
|
|
System.Media.SoundPlayer sound = new System.Media.SoundPlayer(@"c:\path\to\music.wav"); sound.Play(); //or sounds.PlayLoop(); _____ ...
|
|
System Exception Stack: at System.Media.SoundPlayer.ValidateSoundFile(String fileName) at System.Media.SoundPlayer.LoadAndPlay(Int32 flags) at System.Media.SoundPlayer.Play() at ...
|
|
Problem using the c# System.Media.SoundPlayer class on a web host- ASP Development. Visit Dev Articles to discuss Problem using the c# System.Media.SoundPlayer class on a web host
|
|
System.Media.SoundPlayer myPlayer = new System.Media.SoundPlayer(); myPlayer.SoundLocation = @"c:\click.wav"; myPlayer.Play(); But next time use google, these thinks are very easy to ...
|
|
System Exception Stack: at System.Media.SoundPlayer.ValidateSoundFile(String fileName) at System.Media.SoundPlayer.LoadAndPlay(Int32 flags) at System.Media.SoundPlayer.Play() at ...
|
|
System.Media.SoundPlayer Thread Starter: Jonathan.Peppers Started: 17 Jan 2008 9:28 PM UTC Replies: 6 ...
|
|
Peter Foot's Blog ... In .NETCF v3.5 there is a new namespace - System.Media which brings audio support to the Compact Framework.
|