To plot the average spectra of multiple audio files in MATLAB, you can follow these steps:
audioread
function. You can store them in a cell array for convenience.main.m180 chars7 lines
spectrogram
function. You can specify the window size, overlap, and FFT length according to your requirements.main.m163 chars6 lines
main.m30 chars2 lines
imagesc
function. You can adjust the color bar, title, and axis labels according to your requirements.main.m150 chars5 lines
This should produce a plot of the average spectra of multiple audio files.
gistlibby LogSnag