Representing .wav files information in csv file and using histogram This Script takes as an input path of Folder containg .wav files and generates a histogram of their duration against the frequency and creates a csv file containing each file name , duration and sampling rate and save it in a certain path which is also taken as an input
To run type in terminal python audios.py . . (bins) first '.' indicates that the folder containing the wav files is current directatory and can be changed to a path of another folder second '.' is where the csv will be created ('.' for current directatory or can be changed to another path) bins is an integer which is number of bins to be created
Libararies to be installed and imported wave os glob pathlib csv itertools matplotlib sys soundfile