Using this code for the same its working But how to display the average length of these audio files, also how to find maximum and minimum duration files?
import librosa
import glob
import librosa
path=glob.glob('E:/...*/*.wav')
for i in range(len(path)) :
y, sr = librosa.load(path[i], sr=16000)
z=librosa.get_duration(y)
Z=Z+z
Z/len(path)