Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Calculate Music File sizes
Message
 
 
To
21/08/2002 14:11:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00692124
Message ID:
00692126
Views:
30
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform