A spectrogram is a time-varying spectral representation (forming an image) that shows how the spectral density of a signal varies with time.

learn more… | top users | synonyms

1
vote
1answer
53 views

Why is the DFT used for spectrograms rather than the DCT?

Related to Could a DCT be used for an audio magnitude spectrum rather than DFT?, but more on the (audio) spectrogram side of things I've been reading about the DCT (such as from here) and it ...
3
votes
1answer
58 views

Recovering phase from spectrogram

In this answer, an iterative algorithm is given for recovering a signal from its spectrogram, assuming overlapping windows: $$ x_{n+1} = \operatorname{istft}(S \cdot \exp(i \cdot ...
2
votes
2answers
103 views

Meaning of concentric circles on the spectrogram

I've got this unusual spectrogram and I am really curious what these circles could mean. Has anyone ever seen anything like this? What could be the source of the signal?
1
vote
1answer
53 views

Principal Component Analysis as a step between STFT and MFCC

For computing Mel Frequency Cepstral Coefficients you can use already calculated STFTs as a basis and perform the Mel frequency mapping on it. My question: Does it make a significant difference if I ...
0
votes
1answer
52 views

Obtain the frequency response of a time domain chirp signal

I have simulation data in the time domain and I need to represent them in the frequency domain. The data have been obtained time integrating the following equation: $m \ddot{x} + c\dot{x} + kx = A ...
1
vote
1answer
66 views

How can create a .wav bar based spectrogram on matlab?

How can I create a bar based spectrogram that updates as a .wav file is playing. This is commonly found in music players. Here is an example below: I am able to display a amplitude/frequency graph ...
0
votes
0answers
51 views

What are best practices to compute an audio spectrogram?

The spectrogram if generally defined with the squared magnitude of the fft. However, in lots of implementation, it seems that people just use the magnitude without square. Moreover an audio signal is ...
1
vote
1answer
39 views

Voss algorithm and pink noise

the voss' algorithm generated a 1/f series. What does the series mean? For example, we use three dice and the result sequence length is 8. Let's set the sequence is 8,15,6,9,14,10,9,7. Then what does ...
2
votes
2answers
88 views

Count the number of times the phone rings before its answered

I have a dataset of phone recordings that I'd like to do some characteristic-level analysis on. The audio is sampled at 44khz stereo, with each channel containing the signal from one party in a ...
0
votes
1answer
41 views

How to compare the syllable extracted from the audio

I need to recognize just one bird. I am trying to compare the syllables extracted from the sound samples. As a result of the spectrogram function, the power spectral density is taken from the sound. ...
0
votes
2answers
157 views

Frequency Spectrum with c++

I have written a script to plot the frequency spectrum of a sinusoidal signal with c++. Here are the steps 1-Applying Hanning window 2-Apply FFT using fftw3 library I have three graphs: Signal, Signal ...
0
votes
1answer
120 views

Spectrogram, time vs frequency localization, and length of signal

So I'm having some trouble conceptually and am hoping somebody can clear something up for me. This is long and I apologize for that but I want to provide as much information as possible so that the ...
0
votes
0answers
30 views

Time domain sweep function to frequency domain

I have an input sweep sinusoidal signal (constant magnitude sweeping the frequency range of 0.1 to 25 Hz) to my mechanical system. My question is that to analyze the output signal as an acceleration ...
0
votes
1answer
332 views

Python - time frequency spectrogram

I have some 64 channel EEG data sampled at 256Hz and I'm trying to conduct a time frequency analysis for each channel and plot a spectrogram. The data is stored in a numpy 3d array, where one of the ...
0
votes
0answers
41 views

Frequency range of acoustic feedback

What is the frequency range in which acoustic feedback can be found? Most importantly, is there some lowest frequency below which one can expect not to find any feedback? My conclusion from the ...
0
votes
1answer
73 views

Why does the specgram of this simple sine wave look strange?

I'm trying to test some intuition using the matplotlib specgram routine. I first generate a simple sine wave ...
0
votes
1answer
31 views

could not constract original matrix with matlab svd's function

I need to read a .wav file, make a 2D matrix from it using stft, generate singular value decomposition of it using svd method and do some watermarkings... but I can't build the original matrix again ...
2
votes
1answer
77 views

Extracting original signal from overlapping area

Considering this image, where I have a spectral decomposition of a light bulb. Due to the non point shaped light source, the spectral decomposition using a diffraction grating in front of my camera ...
0
votes
1answer
37 views

STFT multiplied with Gaussian Impulse vs STFT multiplied by unit height rectangular impulse

I am currently analysing my signal by looking at its spectrogram to determine the sinusoidal frequency content at the local sections of my signal overtime. I can do my spectrogram in 2 ways: ...
0
votes
0answers
39 views

Simulate noise on the x axis for raw time-of-flight mass spectrometry signals

I am analyzing raw mass spectra produced by a time-of-flight mass spectrometer. These spectra are 2 dimensional signals that consist in intensity values with respect to mass/charge values. Here is an ...
0
votes
3answers
146 views

Drawing a Spectrogram off of FFT - what are the decibels relative to?

I am trying to draw a spectrogram from FFT data I get from audio files. The problem is that I can't figure out is what the yielded power (decibels) are relative to. I'm getting some arbitrary ...
0
votes
0answers
71 views

Spectral Smoothing via Cepstrum

I have been trying to do something that I thought was very simple, and failing terribly: I have been trying to smooth the spectrum of a frame of audio, by transforming into the cepstral domain and ...
0
votes
1answer
47 views

Are there any pictures of a sample accurate spectrogram on the web or in books?

I programmed a sample accurate spectrogram some time ago and i still have never seen a picture of another one. It's interesting maths, i was told it's trivial, so why has no one else posted research ...
3
votes
1answer
261 views

What is the most precise frequency analysis spectrography algorythm?

Everyone uses Fast Fourier Transform, which is fast at the detriment of precision. The input audio has sample accuracy and the FFT has 1/64 sample accuracy. What algorithms can output high resolution ...
0
votes
1answer
66 views

Matlab: is a highpass filter what I want, to obtain my required spectrogram? How do I design/apply this? (pic included)

The axes are wrong in the spectrogram. I have an audio wav file, and I know the sampling rate. this is read into the audioData variable. The audio is 1 channel. selected window length I believe (can't ...
0
votes
0answers
139 views

How does we choose parameter in SPECTROGRAM(X,WINDOW,NOVERLAP,NFFT,Fs)

I am facing problem in SPECTROGRAM(X,WINDOW,NOVERLAP,NFFT,Fs) How would i choose Window, Noverlap,nfft parameter for spectrogram of children voices sampled at ...
1
vote
0answers
131 views

Converting musicg spectrogram output to dBFS

I'm trying to convert musicg Spectrogram output to dBFS. With 16-bit signed integer PCM audio, and an FFT length of 2048, I'm trying to analyze the spectrogram for an audio file to determine things ...
0
votes
1answer
137 views

Strange phase spectrum from stft

I've tried to implement STFT in functional way in Python. I've got code such as below: ...
0
votes
2answers
195 views

Spectrogram of a chirp and its FFT

This question follows from an answer to this other question: Conceptual question on FFT and chirp signal I wrote a code starting from the spectrogram to compare it with the FFT result. ...
0
votes
1answer
52 views

Developing a classifier for a periodic music

I am trying to develop a classifier for Indian Taals, for which I would be focusing only on the Tabla. Now once a extract a period of the Tala(a repetitive pattern), I want to develop some feature ...
0
votes
3answers
117 views

Choosing the best measure for machine learning on a Spectrogram

I am working on an application to classify Talas(a piece of music with onsets). For that, I have the spectrogram of a Tala, which I want to compare with the test Tala, or compare 2 Talas. For this I ...
0
votes
1answer
716 views

Reconstructing time domain signal with Hanning window

I am currently working on a frequency domain real-time application on a digital signal processor. Currently for one time frame of my algorithm I read in time domain data into a buffer, perform a ...
0
votes
0answers
38 views

Can uneven sampled points generate valid PSD and spectrogram?

My recording device samples signal at 100 Hz. At each sampling point, it generates 512 values (I assume due to non-ideal impulse in practice, so each impulse is actually a window with certain width ...
0
votes
3answers
193 views

Rendering a spectrogram of audio data - resulting magnitudes are all too close together

I'm working on creating an application which will render a spectrogram of the audio in an MP3 file. I'm having some trouble, though - after running the audio samples through my program, the resulting ...
0
votes
0answers
101 views

Looking for an algorithm that computes weighted average of frequencies intensity from narrow band in spectrograph

I am searching for the algorithm that takes (audio) signal as an input and outputs weighted intensity of the frequencies of some narrow band (axis X) in time (axis Y). Frequency in the middle of that ...
0
votes
1answer
55 views

Frequency resolution

I have made a stft_func in MATLAB which takes window length i.e t_short as a parameter for window length. Now, this function is ...
0
votes
1answer
90 views

Given a spectrogram, how do I calculate loudness over time?

I want to calculate the loudness of a given sound over time (like, in a graph) from its spectrogram. Can I do this from the spectrogram or is it better to do from the raw sound?
1
vote
1answer
271 views

Improve spectrogram appearance using windowing functions MATLAB

I have a program which plots data obtained in a NI USB DAQ realtime to a spectrogram plot using the surf function. I'd like to improve the appearance of the plot using some sort of windowing function. ...
0
votes
0answers
93 views

Understanding PCA

OK, I have tried to ask the same question in the math site on stack exchange but no real joy. Apologises I'd this is the wrong forum. I am trying to compute the PCA of a spectrogram.. It is 486x128 ...
2
votes
1answer
85 views

Detecting a curve with certain characteristics in a spectrogram

I have a spectrogram built by breaking a signal into chunks and taking the FFT of these chunks. An example spectrogram is: In this spectrogram I am looking for a curve (aka pitch contour) that: ...
0
votes
1answer
112 views

How to obtain the Spectrogram of a signal

I am trying to use Matlab to compute the spectrogram of a signal but I can't seem to figure out how Matlab computes the spectrogram.Consider the case where I have a ...
1
vote
1answer
487 views

PSD - Is this formula correct?

Trying to understand whether or not I am calculating the PSD correctly. Below is the equation that I am using: $$ PSD_{rms}(f_{m} = m \cdot f_{res}) = \frac{PS_{rms} }{ENBW} = \frac{2 \cdot \left | ...
-1
votes
2answers
405 views

Spectrogram - Am I missing something?

I have the following signal: I'm trying to compute a Spectrogram algorithm, but, don't think I'm doing it right.. I have computed the following: 1) STFT (size 256 with an overlap of 128) 2) ...
1
vote
3answers
193 views

Will the resulting spectrogram from this algorithm be 1D or 2D?

I'm implementing a spectrogram algorithm and I get the basic concepts, however, I'm struggling with something. Let's say I have a 1D vector: ...
2
votes
3answers
649 views

Why do we get ripples in the frequency spectrum of a chirp, and how do I remove it?

The ripples in the amplitude spectrum of a linear spectrum is undesirable. I desire to obtain a flat spectrum response. Hence, how can I remove these ripples? Also, which factors (like time bandwidth ...
0
votes
2answers
2k views

Get spectrogram matrix without specgram in MatLab

I have a signal in Malab, and I need a matrix, probably transposed specgram matrix without using specgram tool. Is it possible?
5
votes
2answers
1k views

interpret wavelet scalogram

My knowledge of wavelets is less than epsilon. Bear with me. If I have a signal of two well separated sinusoids (15 and 48 Hz) plus some random noise, I can clearly make out the two in a spectrogram ...
0
votes
1answer
119 views

STFT computational burden

I have a signal with length of $N$. The sampling frequency is $f_s$. Window size is $w$ The noverlap size is set to $m$. And $nfft$ is selected for frequency resolutions. I am running a STFT with ...
1
vote
1answer
2k views

How can I compute a time-frequency cross-spectrum in MATLAB?

MATLAB has a spectrogram function for the time-frequency analysis of a single signal. It also has a cpsd function for estimating the cross-frequency spectrum for two signals. However, cpsd averages ...
0
votes
1answer
217 views

I can't figure out why spectral features are “displaced” on a spectrogram

I'm trying to create a spectrogram of a complex signal 'y', but I'm running into a problem where the spectrogram that I create appears to have its spectral features "displaced" in frequency space, and ...