Page 1 of 1

WMA/MP3 track length help

Posted: Thu Aug 21, 2003 3:04 pm
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.

WMA/MP3 track length help

Posted: Thu Aug 21, 2003 8:29 pm
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

Hi

Posted: Thu Aug 21, 2003 9:07 pm
by DominiqueB
The exe and source can be downloaded from the main site of pb:
www.purebasic.com

Thank's to tell it.

Dominique.

Posted: Thu Aug 21, 2003 9:15 pm
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