csharp play wav file

Code Example - csharp play wav file

                
                        var soundPlayer = new System.Media.SoundPlayer();
soundPlayer.SoundLocation = @"C:\ProjectFolder\song.wav";
soundPlayer.PlayLooping();
                    
                
 

csharp play mp3 file

                        
                                What to do for the music player format m3
                            
                        
 

Related code examples