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
2answers
41 views

What is the advantage of overlapping windows while evaluating Spectrogram?

I've seen many documents that refer to calculate spectrogram through overlapping windows but haven't found clear documents on why this is done and how to calculate the number of points that need to be ...
0
votes
3answers
46 views

Why Matlab Spectrogram of slow and rarely sampled signal shows high frequencies

I have a signal, which was measured for 14.4 minutes (= 864 seconds). There are 192 measurements, so one measurement was done in every 4.5 seconds, which results in a 0.22 Hz sampling frequency if I ...
0
votes
0answers
9 views

How to use tfa.image.sparse_image_warp?

I have the log mel spectrograms of a few audio clips and I am trying to augment the spectrograms using tfa.image.sparse_image_warp so that time warping can be achieved as done in Google's SpecAugment. ...
0
votes
1answer
53 views

How to get rid of noise in audio files?

Is there any method to get rid of noise in wite circles of the spectrogram? I have done the high pass filter for a cut-off frequency of 1 kHz. And I'v also done a adptive noise reduction in adbobe ...
0
votes
1answer
26 views

How to get coordinates(x(time),y(frequency),z(intensity(db))) from spectrogram?

I have created this spectrogram from a wav file. Please have a look: enter image description here I want to get the x = time, y= frequency, z=intensity(db) of every pixel of the spectrogram. How can ...
0
votes
0answers
22 views

Why is the mel filter bank used to create a mel spectrogram?

The formula for converting frequencies from Hz to mel scale is as follows: $$2595\log(1+f/700).$$ So why is the mel filter bank used? What is the origin of the mel filter bank?
1
vote
2answers
64 views

STFT with varying window lengths (like the continuous wavelet transform)

I was wondering if it is possible to use windows of varying lengths when making a spectrogram based on the short-time Fourier transform (STFT). That is, for higher frequencies I would use shorter ...
0
votes
3answers
109 views

What is really the Mel-filterbank?

After applying STFT to a signal, you typically need to convert the frequencies to the Mel scale. Typically the frequency values range from $0$ to $N/2$, where $N$ is the width of each sliding window. ...
1
vote
0answers
85 views

Time-Frequency analysis of IQ data in MatLab

I am new to signals processing, and am trying to match the information I'm getting out of MatLab to that taken from a commercial spectral visualization/playback tool. That is, I know what my data ...
0
votes
0answers
43 views

What is the unit of the color axis on a Matlab spectrogram, and bandpower?

I am new to signal processing, but successfully made a spectrogram with Matlab. It is nice and working, showing the expected output on the graph, but I just cannot understand what the numbers mean on ...
0
votes
1answer
73 views

generating log mel spectrogram using librosa

I have come across 2 different ways of generating log-mel spectrograms for audio files using librosa and I don't know why they differ in the final output, which one is "correct" or how ...
3
votes
2answers
119 views

Why does Matlab spectrogram look stripy when windowed input is zero-padded?

I am working on a little project, and stumpled upon something I cannot understand yet. I am learning cognitive science, and don't have DSP knowledge background, only learning from what I find on the ...
2
votes
0answers
41 views

Tell a recording of Martian wind from a recording of Earth's wind

Perseverance Rover's SuperCam Records Wind on Mars, sol 11 (Credit: NASA/JPL-Caltech/LANL/CNES/CNRS/ISAE-Supaero) How do I interpret an image of a spectrogram of an audio wind signal? (Credit: ...
1
vote
1answer
74 views

How do I interpret an image of a spectrogram of an audio wind signal?

I am running the following code in python to get the spectrogram of a audio signal of wind: ...
1
vote
0answers
123 views

Welch Method FFT Python - Scaling factor?

I've been implementing a Welch method FFT and I am trying to work out the correct scaling factor that should be applied to the output of the function so the PSD is accurate because at the moment it's ...
0
votes
0answers
25 views

Audio-Processing for DeepSpeech model

I try to understand audio signal processing from Deep Speech: Scaling up end-to-end speech recognition paper. Quote: Since the Switchboard and Fisher corpora are distributed at a sample rate of 8kHz, ...
2
votes
1answer
44 views

Spectrogram without using stft

Can I use any kind of transform to make spectrogram, not just stft? Is it possible to get the spectrograms of a signal without using stft? What difference does it make if I calculate the frequency ...
0
votes
2answers
30 views

Stft of sinusoids

I have a sinusoidal signal of 10 minutes. For the first 5 minutes, the signal has a frequency of 100 Hz and for the next 5 minutes, the signal has a frequency of 200 Hz. 1 - If I look at the ...
0
votes
0answers
16 views

Stockwell S-Transform and multitapering

I want to estimate just the spectral amplitudes at different time points using S-transform given a noisy signal. Would I benefit (in terms of noise reduction) from an approach used in multi taper ...
0
votes
0answers
223 views

Python: How to generate log-frequency spectrogram from an audio?

I want to make a log-frequency spectrogram out of this audio. Later, I need this spectrogram for pitch sequence analysis. This is a sample sequence I want to achieve: ...
0
votes
0answers
15 views

Use of spectrograms in using deep learning on EEG related problems

I am currently working on a classification problem related to EEG signals. My professor asked me to convert those signals into their spectrograms and try various convolutional neural networks on them. ...
1
vote
0answers
30 views

Get Spectrogram from Filtered Power Spectrum

My objective is to get the higher resolution of spectrogram on the high-frequency area (2000 Hz - 5000 Hz) for a section of speech audio. I know that we typically apply Mel-scaled filter bank to get ...
0
votes
0answers
38 views

Confusion about spectrograms: conceptual problem

The following code generates a spectrogram as shown in the image. The matrix s which is the spectrogram is of size 129x40 for a ...
0
votes
0answers
46 views

FM modulation - recovering bits

I'm trying to complete one task: Download some FM modulated signals from page http://www.w1hkj.com/modes/index.htm. Calculate their spectrograms, i.e. short-time Fourier transform. Observe different ...
0
votes
0answers
79 views

How to determine number of filters in filter bank based on spectrogram of audio signal?

I want to do an analysis and than synthesis of audio signal, which is audio of vowel 'a', using Matlab. For this I need to use filter bank(array of band-pass filters). I have drawn four different ...
0
votes
1answer
152 views

How to find peak frequency in an audio frequency spectrum?

I have a audio file consisting of multiple frequencies, I need to find all the frequency peaks in the frequency spectrum after doing FFT. But the issue is how can I be able to set the threshold line ...
2
votes
2answers
254 views

Spectrum of FM signal?

If a carrier ($f_c$) is FM modulated by a single sine wave ($f_m$), its spectrum is composed of frequencies at $f_c + kf_m$ ($k \in \mathbb{Z}$) whose amplitudes are weighted by $J_n(\beta)$, the $k$-...
0
votes
0answers
14 views

How to apply audio superposition in mel spectrogram domain

Very rusty physicist here. I have two audio spectrograms and I want to work out how to calculate the spectrogram of the superposition of the original waveforms (without having access to the original ...
1
vote
1answer
106 views

revert back to stft from abs and phase

I have the following code on python ...
0
votes
1answer
54 views

Power Spectral Density Reconstruction

I am from an ML background and I am working on MP3 audio reconstruction and I have managed some amount of spectrogram reconstruction but I have noticed that the higher frequency end of the generated ...
3
votes
3answers
2k views

Python audio analysis: which spectrogram should I use and why?

I am doing my final project at university: pitch estimation from song recording using convolutional neural network (CNN). I want to retrieve pitches existed in a song recording. For CNN input, I am ...
1
vote
0answers
57 views

Trade-off in sample-rate & FFT-size & Doppler

I've got a stream of digital IQ samples let's say at $F_s = 1 MSPS$ that consist of a narrowband signal, in awgn. Let's say the signal BW is ~ 100Hz. The narrowband signal's center (or base) frequency ...
1
vote
0answers
37 views

Understanding CQT (Constant-Q Transformation) parameters for piano AMR (automatic music recognition) with Librosa Library

I am doing an automatic music recognition project with a deep learning model. For my data preprocessing, I am trying to calculate the Constant Q Transform for Polyphonic 88-key piano audio using ...
0
votes
2answers
74 views

Questions about MP3 bitrate conversions

I was trying to analyse the lossy compression of MP3 audio files through their Spectrograms and the results were something like this (where the upper is 80Kbps and lower is 128Kbps). It is obvious ...
1
vote
0answers
54 views

Plot Spectrogram and FFT plots from samples collected by Atheros AR9271

I'm entering the world of signal processing, and as one of my first projects I've decided to plot a spectrogram and FFT Plot. The samples comes from an Atheros AR9271. More details can be found here: ...
0
votes
0answers
41 views

How to efficiently apply spectrum sensing algorithm

Lets assume 1 signal (lets call it PPG) that is composed "mostly" of 3 different main frequencies components ($f_1, f_2, f_3$) and their harmonics. Now let's assume we have 16 copies of this ...
0
votes
1answer
86 views

Determining statistically the bandwidth of a signal from a spectrogram

My question is how to determine the parameters of a signal from a spectrogram statistically. The most important parameters that I am looking for are the lower and higher frequencies of the signal. I ...
1
vote
1answer
121 views

How does modulation frequency appear in the modulation spectra?

I'm trying to familiarise myself with the concept of modulation spectra that I met in this work. My main question appears in the title: how does the modulation frequency appear in the modulation ...
0
votes
0answers
30 views

How can I perform sound classification based on spectrograms and waveforms?

I noticed that almost all machine learning enabled sound classification approaches use spectrograms or MFCCs as input for feature extraction. I am new to the area and would like to know if we can also ...
0
votes
1answer
56 views

spectrogram of a leak in a water pipe

I'm doing a work on the acoustic emission of a leak. I am using a 1.80 m cylindrical tube with water, and the leak is simulated by means of a tap that opens after I have applied negative pressure ...
0
votes
2answers
252 views

How to make spectrogram smooth?

I am quite new in DSP and generating the spectrogram of an audio file. My spectrogram is not smooth and it is showing the quite raw image with pixel values, something like this While I am looking for ...
0
votes
4answers
187 views

what is the relationship between a spectrogram and the uncertainty principle heisenberg? [closed]

what is the relationship between these two things Perhaps more resolution in a spectrogram is equivalent to knowing more the position of the electron and less resolution is knowing the velocity of the ...
3
votes
2answers
478 views

Using MATLAB's Spectrogram Function for Analysis

In the documentation - sepctrogram(). Question 1)s = spectrogram(signal) and ...
0
votes
0answers
44 views

Fbank back to wav

Here's my problem. I have some wav files. I use the wavs as input to compute the fbanks. Then I want to do some stuff with the fbanks and then I want to recreate a wav file associated to the new fbank....
1
vote
1answer
30 views

Order of operations when creating a spectrogram

Signals noob here! I'm dipping my toes into your world by trying to recreate the Shazam algorithm, and I have a quick practical question: When creating a spectrogram, is it better to take in a whole ...
2
votes
3answers
200 views

Reconstructing audio from a given spectrogram and phase data

I have 2 seperate files called: spectrogram and phases. Spectrogram contains magnitude information of audio and phases contain the phase information of each windowed area. I need to reconstruct the ...
1
vote
1answer
42 views

Interpretation of fft plot

I am trying to understand how to interpret a spectrogram image plot: (1) what does the yellow band and its corresponding color code with a high positive value indicate? There are so many yellow bands ...
0
votes
1answer
60 views

Faded line in spectrogram for a chirp

I've generated this spectrogram using wavelet convolution. The chirp is generated like so: ...
0
votes
0answers
20 views

How can a CNN account for spectro-temporal constraints in neural data?

What are there the best ways to leverage the unique "geometrical" constraints of spectro-temporal signal representations (architecture, filter shapes, data augmentation, etc.)? For example, ...
0
votes
3answers
245 views

Does downsampling increase the resolution of frequencies?

I am currently working in MATLAB and had to downsample a .WAV file (I used the downsample function in MATLAB) to 44.1 kHz. However, when I compared the two spectrograms of the original signal vs the ...

1
2 3 4 5 6