Frank Peters | 3 Jan 2008 04:32
Picon

Re: Get the length of a .wav-file... How?

>
> i want to mix two files, but i do not the legth of the first-/above-file.
>
> how can i find out the length of a file?
>

If you're using sox, you probably have libsndfile installed.  With
libsndfile there is a utility called sndfile-info.  From a shell,
just execute the command

sndfile-info file.wav

This will print some information including the file duration.

Regards,

Frank Peters
Detroit, Michigan
USA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane