Making a simple mp3 player

Can a simple mp3 player be written? If so, how should I build it? Are there online resources that can help?

+2


a source to share


5 answers


This would serve as the basis for a Flash based MP3 player: http://www.macloo.com/examples/audio_player/

Your question is too vague to indicate explicitly which language you should use.



^ _ ^

+1


a source


This has already been done and it is available on Google Code as Damn Small Media Player .

It's built in C ++ and the player just only takes 716KB of space and it's simple software to download and use. No installers, etc.



It has features like:

  • Plays Mp3 Files

  • You have playlists, save it and the ability to add all files to the player once.

  • Multi-platform code.

  • Playlist queue

  • Search

+3


a source


You can use an <audio>

HTML tag along with some simple JavaScript to create an enjoyable music player that can search and do everything that a regular player can do. This is the best option because it is a standard supported in most browsers, including those without Flash, and does not have the uncertainty, instability, and unnecessary removal of Flash.

+2


a source


Yes, the process is pretty simple. Have you studied data compression? All you need is a program that takes a stream of files from the input - your mp3 file, decompresses it according to the given bitrate using mp3. Google for the algorithm. There are ready-made snippets for huffman decoding, etc. And writes this decoded stream to your audio driver. You don't need to understand the algorithm, just implement it

+1


a source


Ok, if you want to create a standalone mp3 player, drop the TMediaPlayer component in Delphi form and take it from there;)

0


a source







All Articles