You can read audio files using the audioread
function in Matlab. Then, you can compute the noise level using the snr
function. Finally, you can plot the average noise level using the plot
function. Here's an example code:
main.m405 chars21 lines
This code assumes that all audio files have the same sampling rate. If this is not the case, you will need to resample the audio files using the resample
function.
gistlibby LogSnag