It is possible for me to write a simple mp3 music player? If yes, how should I go about building it? Are there any online resources that can help?
-
4What language/platform do you have in mind ? – nc3b May 20 '10 at 10:26
-
1do you want something that can play and mp3 on a webpage, or do you want to program an actual mp3 player that you can run on your system (like the windows media player or itunes)? – Simon Groenewolt May 20 '10 at 10:27
5 Answers
This has already been done and the is available on Google Code as Damn Small Media Player.
Its built on C++ and the player just takes up only 716KB of space and it is a simple download and use software. No Installers etc.
It has a features like:
Play Mp3s
Have a playlists, retain it and ability to add all files to the player at once.
Multi-platform code.
Playlist Queue
Search

- 1,270
- 1
- 11
- 22
You can use the <audio>
HTML tag along with some simple JavaScript to create a nice music player that can seek and do all the things a normal player can. That is the best option, as it's the standard, supported in most browsers including those without Flash, and doesn't have the insecurity, instability and unnecessary kludge of Flash.

- 79,602
- 28
- 170
- 210
This would be the basis of creating a Flash based MP3 player: http://www.macloo.com/examples/audio_player/
Your question is a little too vague to warrant explicitly stating which language you should use.
^_^

- 10,647
- 11
- 71
- 139
Yea , the process is pretty simple. Have you studied Data Compression? All you need is a program which takes a file stream from the input - your mp3 file, decompresses it according to the given bitrate using mp3. Google for the algorithm. There are readymade snippets for huffman decoding etc. and writes this decoded stream to your audio driver. You dont need to understand the algorithm , just implement it

- 6,036
- 10
- 41
- 54
Well if you want to build a stand alone mp3 player, Drop a TMediaPlayer component on a Delphi form and take it from there ;)

- 3,305
- 6
- 34
- 51