[LAD] Audio file audio length

From: William Steidtmann <billstei@email-addr-hidden>
Date: Sat Jan 10 2009 - 17:41:11 EET

Is there a way to check from the command line the audio length (not the
size of the file) of an audio file (assume wav, but I also want to do
other types, especially flac). So far I have only found this:

sox myaudiofile.wav -n stat

which gives me more information than I need, but at least I can parse
out the length from that output. Is there a simpler more direct
approach using some other command line utility ?

Bill
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sat Jan 10 20:15:01 2009

This archive was generated by hypermail 2.1.8 : Sat Jan 10 2009 - 20:15:01 EET