Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Calculate Music File sizes
Message
 
 
À
21/08/2002 14:11:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00692124
Message ID:
00692126
Vues:
29
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform