Code covered by the BSD License  

Highlights from
Speech Spectrogram

4.33333

4.3 | 3 ratings Rate this file 60 Downloads (last 30 days) File Size: 2.8 MB File ID: #29596
image thumbnail

Speech Spectrogram

by

 

High quality speech spectrogram plot generation routine

| Watch this File

File Information
Description

Takes a vector containing audio data samples as an input, computes short-time Fourier transform (STFT) and plots the STFT power spectrum trajectories across time.

Acknowledgements

M Code La Te X Package inspired this file.

This file inspired Analysis Modification Synthesis, Phase Spectrum Compensation, Add Noise, and Ideal Binary Mask.

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
09 Dec 2013 Sha

Hi, How do you choose the vector of spectrogram limits?

02 Oct 2013 gbernardi

I really like the visual result of your function. I have a question, though:
where does that black dots grid-like superimposed to the spectrograms come from?

10 Apr 2011 Kamil Wojcicki

Hi Alecsander, you can pass color map as one of the inputs to the myspectrogram method. In the test_myspectrogram.m try, f.e.,

myspectrogram( speech.(method), fs, [22 1], @hamming, 2048, [-59 -1], false, 'hot', false, 'per' );

Alternatively you can specify color map for the current figure after calling the myspectrogram method, e.g.,

myspectrogram( speech.(method), fs );
colormap hot;
%colormap jet;

See also http://www.mathworks.com/help/techdoc/ref/colormap.html

01 Apr 2011 Alecsander Eitan

Very nice and works well.
I'll appreciate if it could support color spectrogram.

Contact us