>Hello,
>
>I am using VFP 6.0 and wonder if there is a function, similar to FSIZE(), that would calculate the length of a song (.wav or .mp3) in minutes:seconds based on the file's size in bytes. I've been able to write the code to perform this task, not very pretty code, but wondered if a function exists in VFP, or if someone knows of some elegant code to perform the task.
>
>Thanks in advance,
>
>Tim
You can Get that info from file. See
Read MP3 Property Info Thread #
671272 for MP3 and
Re: TIME( 'MySound.Wav ) Thread #
628525 Message #
628612 for wav.
--sb--