MP3 help

Miscellaneous Forums/General Discussion/MP3 help

I'm not sure if I should put this here or not, but it's been in the 3D forum almost 4 hours now with no reply.

I'm cooking up a DJ program for MP3s, and I want to know some stuff about accessing their data. Using Blitz, how can I determine:

-The sampling rate (NOT the bitrate, like 128kbps, but 32000 / 44100 thing.)
-The album data

I don't necessarily need code, although you can put it in if you want; I'm just wondering where to find that information in an MP3. Ta!

http://www.id3.org/

There you will find the descriptions.

bye

Okay, thanks Abrexxes; that tells me what I need to know about the "ID3" tagging; BUT, (for anyone who's listening,) I still need to know how to find the sampling rate.

Maybe a look here:

http://en.wikipedia.org/wiki/MP3#File_structure

http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm

EXCELLENT!!! Thanks Yoko & Abrexxes, I think I'll be able to get everything I need from these links; cheers!

I've been writing a DJ app on and off for the last 2 years, and if you dont mind being limited to just windows I would suggest using ACM to load the audio, this allows you to specify the output format of the sound, reguardless of what the actual file contains. (it also expands the amount of formats you can access)