How to create a musical player in C #?

2

I'm creating a music player in C #. The design part ( sliders , volume bar, etc.) is all created, but the code is missing!

How can I make the music system so that when I click on the play it plays the song, pause the music and stop > stop the music?

    
asked by anonymous 29.01.2014 / 15:31

3 answers

0

Well, from the little you've posted, you can take a look at this article , which teaches, with a native Windows library, how to make a player, with the possibility of Play and Stop , if you want something more sophisticated, you already has a way to go.

I found another article , more sophisticated , for the same proposal, is worth checking.

    
29.01.2014 / 15:53
5

You can take a look at the NAudio library. This example shows how to play in an mp3 file .

The interface IWavePlayer has methods Stop() Play() and Pause() .

This should already account for the playback part of the songs.

    
29.01.2014 / 15:48
0

For programming a music player you will need codecs , DLLs that decode or encode the sound so that be touched.

If you do not know anything about programming in C #, I recommend that you look up workbooks, download Visual C # and start at 0, then try to create the Player. If you already have read about codecs and download the DLLs of the codecs that your program will need.

    
29.01.2014 / 15:43