Questions tagged [spectrogram]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
79 views

Values (amplitudes) of the CWT and their relationship to waveform amplitudes?

I'm coding up a scalogram in C++. Right now it calculates a single row of the CWT matrix and immediately maps it to a line of pixels. Trouble is my colouring scales with the values of the transform ...
0
votes
2answers
476 views

Neural Network: Spectrogram Dimension

I like to work with a convolutional neural network in combination with a spectrogram as input. Assuming the spectrogram has the dimensions $T\times F$ (time$\times$frequency). Is it more natural to ...
2
votes
0answers
215 views

Help detecting target in pulsed radar signal

This signal is from the Pasternack $2.4\textrm{ GHz}$ development kit. The saved signal appears to be the pulsed waveform. It is sampled at $20\textrm{ kHz}$ for $4130$ points. I recorded a ...
1
vote
1answer
269 views

Do I need to bandpass filter the signal before applying the Zoom FFT algorithm?

Let's say I have an acoustic signal that I want to make a spectrogram of filled with broadband noise and tonals, sampled at oh, $44100\textrm{ kHz}$, and I want to zoom in on the band between $2600\...
1
vote
0answers
816 views

How does the size of a spectrogram relate to window length and frame rate?

I'm trying to understand the methodology from section 4 in this report about audio classification but I have some trouble understanding how they pre-process the data (dsp is not my area). $30$ ...
1
vote
0answers
167 views

difference between logged power spectrum and power spectrum?

What is the difference between a logged power spectrum and power spectrum... Well the log part. So can a normal power spectrum be converted to a logged power spectrum just by taking the log of the ...
2
votes
2answers
420 views

Does an equivalent transformation of a signal to a spectrogram image exist in which the phase information is part of the resulting image?

I'm working on a research project where we would like to apply convolutional neural networks to an image representation of a signal. However, it seems that if I would use a spectrogram, I would end up ...
1
vote
0answers
490 views

removing noise from audio

I have an audio file, in the range of 4 kHz to 120 kHz. I want to remove the lines that are not harmonic and are recognized as environment noise. the energy of the signal in this interval for each ...
0
votes
3answers
1k views

STFT multiplied with Gaussian window vs STFT multiplied by rectangular window

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: Directly ...
0
votes
1answer
124 views

feature selection for classification for rare classes

I have a spectrogram of a signal and want to classify it. I used different features such as MFFC, the density of power spectrum and other common features and classify using the random forest, but I ...
2
votes
1answer
288 views

Unexpected peaks in spectral analysis

I am doing the spectral analysis of some antenna recorded signals by computing PSD (logarithmic absolute value of the FFT) and the spectrogram of the signal. The problem is that I get some unexpected ...
1
vote
0answers
83 views

Epoching Data with no Events in mne?

I am new to Python and signal processsing, and I'm trying to create a spectrogram of EEG data taken during a course of general anesthesia. I would like to use MNE's ...
1
vote
1answer
156 views

Extremely large reconstruction errors in NMF

First time in this stack... I am doing some audio analysis. I have a spectrogram ($N\approx 33000, M=1024$) and I need to run an NMF algorithm on it. I am using the Scikit learn implementation. And ...
0
votes
1answer
924 views

Reconstruction of audio signal from Spectrogram: Implementation

Is there somewhere an implementation available for the reconstruction of audio from a spectrogram? (e.g. based on this approach). I could not find anything, but I think there should be an ...
0
votes
0answers
318 views

Proper way of representing Static, delta, delta delta in a plot

I am currently working on recreating the result of this paper. The paper is about applying cnn in speech recognition, in which cnn is used to for feature extraction, for which a proper way of ...
3
votes
0answers
398 views

What is the autocorrelation equivalent of the spectrogram called?

I'm very knowledgeable about the differences between the Fourier transform, and the autocorrelation; mainly that one converts the time domain to the frequency domain, and the other finds periodicities ...
-1
votes
1answer
125 views

Making a mesh out of the parameters from a STFT

I do not possess much knowledge about signal processing, so i hope to do a find an answer. I am reading a wav-file and then apply a fft on it. In theory, i think i have a 3 parameters i can use. Time ...
0
votes
1answer
2k views

What is the instantaneous frequency of this signal

Suppose we have the signal $x(t) = \cos(\pi t) + \cos(\pi t^2) + \cos(\pi \cos(\pi t))$ How can I find the formula which gives the instantaneous frequency $f(t)$?
2
votes
1answer
379 views

Time-Frequency Analysis of Big Data - Data Size Reduction: averaging the most appropriate method?

Explanation: I would like to analyse the data from an experiment, which investigates the performance of a mechanical component using sensors, that has generated 2000 CSV files. Each file contains 513 ...
0
votes
1answer
331 views

Raw speech data into spectrogram

I am using Delphi trying to make a very simple speech recognition system. The system collects raw data well, but I have a hard time turning the data into a spectrogram: The system collects an array ...
0
votes
1answer
435 views

Digital Camera Spectroscopy?

Would it be possible to use a conventional Canon DSLR camera to do some kind of vaguely meaningful spectrum analysis with GNU Octave? My niece needs to do a biology science project for school so I ...
0
votes
1answer
315 views

Difference between spectrogram and a figure in an audio signal

i wrote a function in MATLAB which will divide a audio waveform (a speech) into smaller windows with overlap .The output will be a matrix X, each column of which contains the windows which i export. ...
4
votes
1answer
3k views

Spectrograms for neural nets

General Question Given an audio file, say a 16-bit wav, what are some standard methods to preprocess a spectrogram of this wav so that it may be fed into a neural net? Context In Lee et al's 2009 ...
1
vote
1answer
136 views

Could not construct original matrix using SVD

I need to read a .wav file make a 2D matrix from it using the STFT generate its singular value decomposition do some watermarking but I can't build the original ...
0
votes
2answers
2k views

FFT spectrogram in log frequency space. How?

I was reading a paper and the authors say that they extract FFT spectrograms and log-scale in frequency domain. I understand how the general spectrogram is computed, but how to make it log-scale in ...
0
votes
1answer
3k views

Spectrogram for created signal in Octave

I'm trying to test the specgram function located in the signal package in octave but I'm a little confused at the variables in ...
2
votes
1answer
460 views

unexplainable aliases in spectrogram

My scope has 200 MHz bandwidth and can sample at 4GS/s I'm sampling a 138 MHz RF signal at 500 M Sa/s storing 14 M points. When I plot the spectogram in matlab I get the following spectrogram(Data,...
1
vote
2answers
191 views

Reduce “flicker” in spectrum analysis / spectrogram

I'm performing a series of FFTs on windowed extracts of an input signal, to get a frequency spectrum over time. This is for a visualisation - I'd like to keep the window small, so the visualisation ...
4
votes
3answers
2k views

How to interpret spectrogram correctly?

I have a pressure transducer signal from a reacting mixture available here, which has a sampling frequency of 50kHZ. I have also obtained the spectrogram of the signal with NFFT=256, noverlap=4 as ...
0
votes
1answer
672 views

Is this waterfall characteristic of QAM or OFDM (or something other) modulation?

I recorded this signal at 2.45GHz, it is coming from a camera. Is this QAM or OFDM ? Based on those side-lobes I would guess OFDM but I am not sure. Also there seems to be an interesting preamble ...
3
votes
1answer
710 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 ...
2
votes
1answer
2k 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 \operatorname{angle}(...
1
vote
1answer
575 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 ...
4
votes
4answers
47k views

How do I plot the spectrogram of a wav file?

I am dabbing a little bit into signal processing on MATLAB. And I have the following question that I would like to know the answer to. What has to be done : Plot the Spectrogram of an audio file. ...
3
votes
2answers
209 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
566 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
1answer
2k 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
1answer
257 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
1answer
3k 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 ...
1
vote
1answer
9k 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
167 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
604 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 ...
3
votes
1answer
109 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
2answers
6k 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?
0
votes
3answers
1k 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 -100db-...
0
votes
1answer
107 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 ...
4
votes
1answer
2k views

What is the best way to represent audio visually? (x-post from UX)

Original Question: https://ux.stackexchange.com/q/23040/16006 I've only taken some basic signal analysis courses, so I might be missing some things. Purely theoretical question: What methods exist ...
0
votes
1answer
4k 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 ...
1
vote
0answers
548 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
941 views

Strange phase spectrum from stft

I've tried to implement STFT in functional way in Python. I've got code such as below: ...