MATLAB: How to convert audioDatasrore object to .mat file

fft

i have a datavase of 120 files and i want to convert in .mat file to usr FFT on it please help! thank you

Best Answer

Niyomi - can't you just use read the next available data file from the AudioDataStore? Something like
while hasdata(myAudioDataStore)
data = read(myAudioDataStore);
% save the data to the mat file, do the FFT, etc.
end
where myAudioDataStore is your data store object?