MATLAB: MATLAB to calculate .wav file intensity MATLABsoundfile Any tools or suggestions? Thanks! Best Answer Hi, Jen!Audio System Toolbox has a couple of tools for this:splMeter measures sound pressure level in dB: https://www.mathworks.com/help/audio/ref/splmeter-system-object.htmlloudnessMeter does similar, using Loudness Units: https://www.mathworks.com/help/audio/ref/loudnessmeter-system-object.html Related SolutionsMATLAB: Regarding .wav file % Create WAV file in current folder for this testload handel.mathfile='handel.wav';wavwrite(y, Fs, hfile)clear y Fs% Read the data back into MATLAB[y, Fs, nbits, readinfo] = wavread(hfile);% Save as ASCII text filesave('handel.txt', 'y', '-ASCII') MATLAB: Speech_dft_8kHz.wav Start with the audioread (link), then sound (link) functions.To plot it, create a time vector from the ‘Fs’ (sampling frequency) value and the length of your file ‘y’ in the audioread output.I leave the rest to you. Related QuestionHow to play .wav
Best Answer