Thread: more help needed with mp3

  1. #1
    duck-billed platypus

    more help needed with mp3

    Does anyone have any experience with the mp3 file format who can help me? I went to the links given to me in my last post, and I did a search on the internet. Although there is hardly any info one the technical aspects of mp3, I did manage to find a few things, but they all gave different information (albeit slightly) !

    Basically, all im trying to do is read in each frame of an mp3. Does anyone have any experience and/or any code they can share with me? (I did also find some code, but its all uncommented and impossible to read)

  2. #2
    Do you wan't to make an mp3 player. If that is the case I would do it using DirectX or Windows media player. Because most is done in assembler to decode the mp3 format(I think) and I doubt many companies will give you their code. here is the source code for the xing player. I haven't been able to let it work. It has almost no comment. But I think this is the closest you can get to an mp3 player.

    And here is the code for the freeamp player.

    Sorry I can't help you any furter

  3. #3
    Join Date
    Aug 2001
    Groningen (NL)
    Take a look at Also Fraunhofer has many information on MPEG.

    You want to make a MP3 decoder? Google gives a lot of results when searching "MP3 decoder source".

    And what kind of technical information do you need?

    MPEG is a lossy compression algorithm withs makes use of the model of human hearing. Depending on the frequencies in the signal the algorithm lays a mask upon the spectrum and then decides which frequencies can be left away. This is normally done by putting the signal into a filter bank. After filtering a "normal" datacompression algorithm, like Huffman encoding, is used to compress the data. I've been working with MPEG-2 for a while, at this moment it's still the standard used by the radio stations for compressing audio. But it won't take long before MPEG-4 will be the overall standard. There are already projects going on with MPEG-4 and Bluetooth.

  4. #4
    Registered User
    Join Date
    Oct 2001
    There's some pretty well documented code in the lib here.
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland:

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which Portable mp3 player?
    By Raihana in forum A Brief History of
    Replies: 27
    Last Post: 01-09-2004, 07:58 AM
  2. MP3 to WAVE and WAVE to MP3 conversion
    By Blizzarddog in forum C++ Programming
    Replies: 8
    Last Post: 01-01-2004, 08:32 PM
  3. mp3 players vs mp3 cd players
    By Geo-Fry in forum A Brief History of
    Replies: 5
    Last Post: 12-06-2003, 09:22 PM
  4. Mp3
    By gvector1 in forum C# Programming
    Replies: 15
    Last Post: 07-08-2003, 05:48 PM