sndinfo

Returns number of frames, duration in seconds, sampling rate and number of channels of the given sound file.