WMA/MP3 track length help

Just starting out? Need help? Post your questions and find answers here.
darryl_bartlett
User
User
Posts: 13
Joined: Tue Apr 29, 2003 8:26 am
Location: South Wales, UK

WMA/MP3 track length help

Post by darryl_bartlett »

Hi guys,

I want to write a program which simply gets the track (song) length of a WMA or MP3 file.

Does anybody have any PureBasic code which does this? Do you know of any DLL I can use which will do this for me?

Thanks in advance for any help you may be able to give me.

Daz.
User avatar
einander
Enthusiast
Enthusiast
Posts: 744
Joined: Thu Jun 26, 2003 2:09 am
Location: Spain (Galicia)

WMA/MP3 track length help

Post by einander »

Darryl:

A few weeks ago, I've downloaded (from this forum ???) a nice PB prog, - MP3 Player example file -(c) 2003 by Dominique Bodin - bodind@club-internet.fr, that plays and gives the track lenght of MP3, MIDI and WAV files.

Now I can't find it again with the search tool.

May be if you search for it, you can find the code, or if you want, I can send it zipped to you.

Einander
DominiqueB
Enthusiast
Enthusiast
Posts: 103
Joined: Fri Apr 25, 2003 4:00 pm
Location: France

Hi

Post by DominiqueB »

The exe and source can be downloaded from the main site of pb:
www.purebasic.com

Thank's to tell it.

Dominique.
Dominique

Windows 10 64bits. Pure basic 32bits
User avatar
einander
Enthusiast
Enthusiast
Posts: 744
Joined: Thu Jun 26, 2003 2:09 am
Location: Spain (Galicia)

Post by einander »

Dominique:

Thanks to you for the program.
I'm a musician, and an absolute beginner with PB, and I've learned a lot about MCI with your code.

Einander
Post Reply