5.0 | 5 ratings Rate this file 79 Downloads (last 30 days) File Size: 338 KB File ID: #38837 Version: 1.1
image thumbnail

Sound analysis with Matlab Implementation



30 Oct 2012 (Updated )

Time and frequency analysis, measurement of the crest factor, the dynamic range, etc.

| Watch this File

File Information

The present Matlab code, concerns the analysis of a given sound sample. The analysis includes:
1) Plotting of:
- the signal in the time domain;
- the signal in the frequency domain (using FFT);
- the spectrogram (using STFT);
- the distribution of the instantaneous value of the signal (using normfit);
- the autocorrelation function of the signal.
2) Displaying of:
- the standard deviation of the signal (sigma);
- the mean value (mu);
- the crest-factor Q;
- the dynamic range D;
- the 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] G. Heinzel, A. Rudiger, R. Schilling. Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new flat-top windows. Germany, Hannover, Max-Planck-Institut für Gravitationsphysik, 2002.

[3] Understanding FFT Overlap Processing Fundamentals.pdf. Tektronix Inc., www.tek.com, 2009.

[4] I. Tashev, A. Acero. Statistical Modeling of the Speech Signal. IWAENC 2010, August 30 - September 2 2010, Tel Aviv, Israel.

[5] M. Mijic, D. Masovic, D. Pavlovic, M. Petrovic. Statistical properties of music signals. 126th AES Convention, May 7 – May 10, Munich, Germany. Proceedings of papers, p. 7702, 2009.

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

Required Products Signal Processing Toolbox
Statistics and Machine Learning Toolbox
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
09 May 2015 Özay Özçelik  
28 Sep 2014 Hristo Zhivomirov

Hi, Nguyen! The basic reason for a minus sign in front of some dB value is because the logarithm of a number 0<x<1 is negative.

Comment only
26 Sep 2014 Nguyen Thanh Phong

Why dB have "-"?

Comment only
19 Sep 2014 Nguyen Thanh Phong

Thank you very much!

10 Jun 2014 Michael  
11 Feb 2014 helal

helal (view profile)

08 Apr 2013 Mardare Ionut  
14 Apr 2014 1.1

Calculation of the autocorrelation function of the signal is added.

Contact us