Sound Analysis with Matlab

Time and frequency analysis, signal statistics, etc. of a sound signal.
10.2K Downloads
Updated 28 Jun 2020

View License

The present code is a Matlab program for signal analysis of a given sound file. The analysis includes:
1) Options for:
- signal detrending;
- signal normalization.
2) Plotting of the:
- signal in the time domain (oscillogram);
- signal in the frequency domain (spectrum);
- signal in the time-frequency domain (spectrogram);
- signal in the time-quefrency domain (cepstrogram);
- amplitude distribution of the signal (histogram);
- autocorrelation function of the signal (correlogram).
3) Displaying of the:
- minimum and maximum value of the signal;
- standard deviation (RMS-value);
- mean value (DC-value);
- crest-factor Q;
- dynamic range D;
- autocorrelation time.

The code is based on the theory described in:

[1] D. Manolakis, V. Ingle. Applied Digital Signal Processing. Cambridge, Cambridge University Press, 2011.

[2] J. Benesty, M. Sondhi, Y. Huang. Springer Handbook of Speech Processing. Berlin, Springer, 2008.

[3] Хр. Живомиров, Д. Пламенова. Изследване някои параметри на аудио сигналите. Национална конференция с м.у. „Акустика 2012”, 12 Октомври 2012, Варна / Списание Акустика, ISSN: 1312-4897, год. XIV, бр. 14, стр. 89-95, 2012.

Cite As

Hristo Zhivomirov (2024). Sound Analysis with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/38837-sound-analysis-with-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Noise Analysis with Matlab, plotpsd

Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

A new version of the code has been uploaded.

1.3.0.0

A new version of the code has been uploaded.

1.2.0.0

A new version of the code has been uploaded.

1.1.0.0

Calculation of the autocorrelation function of the signal is added.

1.0.0.0