Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
375 views

Quantify the difference between two audio spectrograms

I have two speech signals of the same length. They contain the exact same speech content but are recorded from two different microphones. I want to compare the differences between them. 1) Assuming ...
3
votes
1answer
215 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
1answer
33 views

Normalizing vectors to be the same size to retain PSD data

Context: PSD=periodogram(y) in MATLAB gives the PSD (power spectral density) estimate of a sound-source signal. I want to find the local maximum within 3 different ...
1
vote
1answer
96 views

How can you 'perfectly' reconstruct phase for transients in a modified audio absolute spectrogram?

I am currently working on the absolute spectrogram of an input audio signal. I am using non-negative matrix factorization to separate out the rhythmic components (bass drum, snare drum and hi-hat) of ...
1
vote
1answer
351 views

Is the Auditory Spectrogram the same as the Magnitude Spectrogram?

This is in the context of speech signals. The magnitude spectrogram is computed by framing the signal into short time windows, applying a hamming (or similar) window, computing the fft over each ...
1
vote
1answer
106 views

Continuous wavelet transform subsampling at lower frequencies?

I am not completely confident in my understanding of wavelet theory, but since I am currently in the process of creating a CWT scalogram tool, I have to ask: Is there a theorem allowing us to ...
1
vote
1answer
623 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 ...
1
vote
1answer
3k 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
1answer
22 views

Spectrogram power/magnitude normalization in analogy with image intensity normalization

In analogy with the 8-bit grayscale image color depth, in which the intensity of a sample pixel is normalized to a value between 0 and 255 by taking into account the minimum and maximum intensities ...
0
votes
1answer
53 views

Fourier like spectral analysis with uneven intervals and redesigned DFT matrix

I intended to use a discrete Fourier transform (DFT) on a time series sampled at uneven intervals. What I did was to calculate a DFT matrix where the elements are the values at the uneven locations ...
0
votes
1answer
135 views

how to create a harmonic mask from fundamental frequency?

Using an algorithm that gives the fundamental frequency across time, example https://www.mathworks.com/help/audio/ref/pitch.html (or some other one?) how would I then use that, to create a harmonic ...
0
votes
1answer
507 views

Comparing band-pass filters and convolutional kernels?

I am currently working on extracting features for speech recognition purposes. I wanted to try an approach similar to MFCC features in which the center frequency of each band pass filters are placed ...
0
votes
1answer
402 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 ...
-1
votes
1answer
115 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 ...
4
votes
0answers
295 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 ...
3
votes
0answers
184 views

Normalize harmonics to the same fundamental frequency in a time series using MATLAB

I'm a bit new to DSP (so apologies if I get the terminology incorrect) and was wondering if the problem I have is standard. I have measured a time series of a fan and noticed that the my spectrogram ...
3
votes
0answers
255 views

Points of interest in a spectrogram

We have several audio tracks, all of which are different versions of the same track under one type of distortion: the speed of the track is increased by a constant factor K (hence frequences are ...
2
votes
0answers
155 views

Reconstruct signal from its Spectrogram only

The spectrogram of a signal throws away the phase information, but it is said to be possible to reconstruct the signal only from the spectrogram [1] via $$s(t) = \frac{1}{2\pi s^*(0)}\int_{-\infty}^{\...
2
votes
0answers
184 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
0answers
139 views

How to calculate spectrogram from nonstationary, nonuniformly sampled signal

I have a high resolution 3D spatial signal (xy-elevation data collected via Terrestrial Laser Scan) with very nonuniform sampling (holes/shadows due to vegetation; point spread varies as a function of ...
1
vote
0answers
399 views

calculating SNR from dbfs (using spectrograms)

I've the spectrogram of both noise and signal (both 5 seconds). Below image shows an example of the signal spectrogram: The colour of the spectrogram shows the intensity in dbfs (from 0 dbfs to -120 ...
1
vote
0answers
74 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 ...
1
vote
0answers
535 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
334 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 ...
1
vote
0answers
56 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
0answers
98 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 ...
1
vote
0answers
283 views

4 Hertz Modulation Energy

I am trying to distinguish between speech signals and music signals using feature extraction and SVM. I am looking for features to include for this purpose. While going through literature, I came ...
1
vote
0answers
485 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 ...
1
vote
0answers
331 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 ...
0
votes
0answers
12 views

Spectrogram of chirp sequence radar signals

I am confused as to whether SFFT makes sense to process chirp sequence signals. The radar fires up a sequence of 100 linear ramps with that are only interrupted by the very short period in which the ...
0
votes
0answers
15 views

finding harmonics from fundamental

https://s3.amazonaws.com/izotopedownloads/docs/rx700/en/interactive-tools/index.html#selection-tools From the above link, under the "Magic Wand" tool description, how does that algorithm work? In RX,...
0
votes
0answers
72 views

How to Extract frequency bands from Short-time Fourier Transform?

I am reproducing the results reported by the author in a research paper. In which he takes the STFT of EEG signals. The input data has a shape of (1 X500) and I used Scipy library built-in function to ...
0
votes
0answers
149 views

Recover Audio from Spectrogram Image

I have applied transformation(Constant Q Transformation) to my audio time domain signal, this gives me Frequency vs Time representation. Now, the CQT values consists of complex values(84*260), but ...
0
votes
0answers
23 views

Scipy Welch's gives different first element

I've re-implemented Welch's method and want to compare it to scipy.signal.welch. However, the first two and last elements of the resulting array are different. My ...
0
votes
0answers
46 views

How to use a context window to segment a whole log Mel-spectrogram (ensuring the same number of segments for all the audios)?

I have several audios with different duration. So I don't know how to ensure the same number N of segments of the audio. I'm trying to implement an existing paper, so it's said that first a Log Mel-...
0
votes
0answers
55 views

How can I calculate the Number of bins per octave?

I am trying to calculate the Constant Q Transform for Monophonic audio using Python. The Python has the library to calculate the CQT , the default value of num_bins_per_octave is 12. How would one ...
0
votes
0answers
44 views

How to know the time of my window to calculate the STFT with python knowing only the length?

I am trying to implement a work presented in an IEEE paper where they have mentioned that the STFT was performed on the signal measurements to obtain a spectrogram with no overlap window of 3 min : I ...
0
votes
0answers
93 views

Mirrored Spectrogram Mp3

First of all sorry if this is a stupid question, but I am an absolute beginner in this field and have been trying for days now. I'm working on a java program that uses fft to analyze audio files. To ...
0
votes
0answers
13 views

time-frequency masking with shared properties between vector masks

I am working on a source separation problem and I have a logical mask that when applied to the STFT matrix, gives me expected results. The problem here, is that the mask is based on a spectral feature,...
0
votes
0answers
58 views

Teager-Kaiser Energy Operator based Spectrogram

I plotted a normal spectrogram for 3 recordings (left), and their TEO (or TKEO) based spectrograms (right). I wanted to understand/read the differences between the left and right pictures. I do ...
0
votes
0answers
103 views

Spectrum of received signal from radar fm-cw

I obtained actual data from a researcher, consisting of a matrix composed of several received signals from an up-ramp fm-cw radar. Wouldn't be reasonable to plot the spectrogram of a ramp up and ...
0
votes
0answers
208 views

How to manipulate output of Matlab's 'spectrogram' function for additional spectral analyses

all, I have an audio recording that contains several frequency-modulated elements (think animal calls like birds/bats). I have read this file into Matlab using 'audioread' and plotted the oscillogram ...
0
votes
0answers
229 views

Hilbert Spectrum vs. STFT

If I wanted to plot a spectrogram of a signal, I would by default use the Short Time Fourier Transform. However, the Hilbert transform does something similar: it lets us calculate instantaneous ...
0
votes
0answers
291 views

Smooth looking spectrogram display

I'm working on a simple sound analyzer application and a main feature of this program is the spectrogram display. I want this spectrogram to render fast and to be good looking while preserving all the ...
0
votes
0answers
252 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 ...
0
votes
0answers
133 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
0answers
337 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 ...