Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

How do I read all the .wav audio file in one folder using information from an excel sheet in Matlab?

$
0
0

Hi I have a question for Matlab programming, I want to ask if I am using Mac OS and I have placed all my audio files in the same folder as Matlab, how do I read all the .wav audio files? I want to automate the process.

Example:

Firstly, I have an excel sheet with the audio file name and information.

Secondly, I want to extract the audio file names from the excel sheet (first column) and put it into the audioread function in MatLab.

I need to use the following audioread function.

[y,Fs]=audioread('audio1.wav');

I want to read audio1.wav and do some calculations on it. After finishing the calculation, I will proceed to read audio2.wav and do the same calculation for it. Can you teach me how to do this and show me the code for this?

Thank you.


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>