I have 100 .wav files in the same folder which I would like to perform analysis on. I would like to read in the files one at a time, perform some simple analysis on them (e.g. calculate the mean) and then save the outputs in to a seperate file.
The essential issue seems to be importing the file and then saving each analysed output seperately. The steps I see it are to automate the following:
- Import file 1.wav
- Calculate the mean of file 1.wav
- Save the mean of file .wav as meanfile1.mat
- import file 2.wav
- repeat steps 1-3 on file 2, saving as meanfile2.mat
- And so on doing this for all the remaining .wav files
Please can anyone help with this?