Programatically obtaining MP3 bitrate (or other audio header information)

S

Someone

Hi

I have a database that can lookup the TAG information for individual MP3s or
folders/subfolders of MP3s and export it to a report as required. In
addition to the TAG info, I would like information from the audio header of
MP3s. Critically, I would like the bitrate, but if I could get other
information from the header that would be good too.

I've searched high and low through search engines, coding websites and
newsgroups and cannot find VBA code that will extract this information. The
only info I could find is non-VBA and even that is minimal. I've found
plenty of information that describes how the audio headers are built and
where the information is stored within it, but as my VBA skills are
certainly not on a level that can understand how to build the code from this
info, I'd need some pre-built code.

Does anybody know how to do this or point me in the right direction to
getting information that could help me do this? I'd be so grateful for any
help.

Thank you.

S
 
A

Albert D. Kallal

I would do a Google for some vb6 source code. You do realize that VBA is
virtually the same as VB6, but with a different forms object model.

I taken tons of VB6 code from the web. For example, I have some code
that does zipping, and un-zipping. I took the original code from a VB6
example.

So, any example that includes source code for vb6 should do the trick....

A quick Google....lots of hits..the first being

http://www.vbaccelerator.com/home/V...and_Writing_MP3_ID3v1_and_v2_Tags/article.asp
 
S

Someone

Hello Albert

I've read countless numbers of your posts over the years and this is the
first time we've crossed paths, so hello :)

I do know about VB but it just didn't come to mind. I've now found code to
do exactly what I wanted - thank you very much for your help!

Thanks
S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top