Spectrogram Frequency Resolution Versus Temporal Resolution Digital Spectrogram

Spectrogram Frequency Resolution Versus Temporal Resolution Digital Spectrogram

Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Lecture 5: Spectograms ECE 401: Signal and Image Analysis University of Illinois 2/2/2017 Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram 1 Fourier Series Review 2 Definition of Spectrogram 3 Frequency Resolution versus Temporal Resolution 4 Digital Spectrogram Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Outline 1 Fourier Series Review 2 Definition of Spectrogram 3 Frequency Resolution versus Temporal Resolution 4 Digital Spectrogram Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram On-Board Practice Can I have 3 volunteers to come try this one on the board? Thanks! 8 T T 1 1 − 0 ≤ t ≤ 0 < 4 4 X jkΩ0t T0 3T0 x(t) = Xk e = 0 4 < t < 4 k=−∞ : x(t − T0) always 1 Plot x(t) 2 What is X0? 3 What is Xk for k 6= 0? Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Outline 1 Fourier Series Review 2 Definition of Spectrogram 3 Frequency Resolution versus Temporal Resolution 4 Digital Spectrogram Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Spectral Analysis of Quasi-Periodic Signals Voiced speech is periodic. But the fundamental frequency, Ω0(t), changes over time. Spectral amplitudes Xk (t) tell us which vowel is being produced. 1 X x(t) = Xk (t) exp (jkΩ0(t)t) k=−∞ Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Spectrogram = Quasi-Periodic Analysis In order to find the spectrum, Xk (t), at each time. 1 Excise one frame of speech, that starts at time t: x(t + τ) 0 ≤ τ < T x(t; τ) = 0 otherwise 2 Pretend that one frame is a single period from some perfectly periodic longer signal. 3 Short-time Fourier transform (STFT) Xk (t) = Fourier series analysis of each frame: 1 Z T X (t; k) = x(t + τ)e−jk2πkτ=T dτ T 0 4 Spectogram = STFT converted to dB 2 S(t; k) = 10 log10 jXk (t)j Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Spectrogram: Practical Issues 1 How long is each frame? 1 T = T0: pitch synchronous analysis 2 T > T0: narrowband spectrogram 3 T < T0: wideband spectrogram 2 Digital spectrogram is computed using the discrete time Fourier series (DFS) or discrete Fourier transform (DFT) Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Outline 1 Fourier Series Review 2 Definition of Spectrogram 3 Frequency Resolution versus Temporal Resolution 4 Digital Spectrogram Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Frequency Resolution The answer to \how long should each frame be" is intimately connected with the idea of frequency resolution. 1 Z T X (t; k) = x(t + τ)e−jk2πkτ=T dτ T 0 Has the property that the separation between two neighboring frequency bins, k and k + 1, is 1 2π ∆F = ; ∆Ω = T T Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Pitch-Synchronous Spectrogram Suppose that x(t) is really periodic with period T0, so that 1 j2π`(t)t X T x(t) = X`e 0 `=−∞ Suppose that we perform analysis using period T ≈ T0: Z T 1 − j2πkτ X (t; k) = x(t + τ)e T dτ T 0 Then GOOD: If we're right, and T = T0, then X (t; k) = Xk exactly! BAD: If we're mistaken by a small amount (up to ±70%, roughly), then the numbers X (t; k) don't tell us anything about what T0 actually was. 2π WHY: ∆Ω = T ≈ Ω0. We can separate tones that are Ω0 apart, but smaller variations are invisible. Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Narrowband Spectrogram 1 j2π`(t)t Z T X 1 − j2πkτ x(t) = X e T0 ; X (t; k) = x(t + τ)e T dτ ` T `=−∞ 0 Suppose we choose T T0, say, T ≈ 2T0. Then GOOD: If T = 2T0 exactly, then X k even X (t; k) = k=2 0 k odd GOOD: If we don't know T0 exactly, then we choose T large enough so that T ≥ 2T0. Then we can estimate T0 by seeing how many of the bins jX (t; k)j have large amplitude. 2π WHY: ∆Ω = T Ω0, so we can measure changes that are small relative to Ω0. Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Wideband Spectrogram Suppose we want to measure the spectrum X (F ) as a function of frequency (its timbre, or vowel quality); we want our measurement to be independent of the pitch period. This can be done by choosing T T0. For example, if T = 0:5T0, then (not exactly, but approximately): X (t; k) ≈ X2k + 0:5 (X2k−1 + X2k+1) Even if x(t) is not periodic at all, X (t; k) still tells us how much energy the signal has in the frequency band k−0:5 k+0:5 T ≤ F ≤ T . We can still measure the pitch period, T0, by measuring the variation of X (t; k) in the time domain: X (t + T0; k) = X (t; k) Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Outline 1 Fourier Series Review 2 Definition of Spectrogram 3 Frequency Resolution versus Temporal Resolution 4 Digital Spectrogram Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Digital Spectrogram A digital spectrogram is computed by first sampling the signal at Fs samples/second: x[n] = x(n=Fs ) Then we compute the discrete time Fourier series: N−1 1 X −j2πkn X (t; k) = x[tF + n]e N N s n=0 . and convert to decibels: 2 S(t; k) = 10 log10 jX (t; k)j Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Discrete Time Fourier Series The DTFS (discrete time Fourier series) is just like the CTFS (continuous time Fourier series) except that (1) we use a sum instead of an integral, (2) the number of frequency-domain samples is the same as the number of time-domain samples. N−1 1 X 2π X = x[n]e−jk!0n;! = k N 0 N n=0 N−1 X jk!0n x[n] = Xk e k=0 Fourier Series Review Definition of Spectrogram Frequency Resolution versus Temporal Resolution Digital Spectrogram Frequency Resolution of a Digital Spectrogram 1 cycles/sample ∆f = N frequency bin 2π radians/sample ∆! = N frequency bin F Hertz ∆F = s N frequency bin 2πF radians/second ∆Ω = s N frequency bin.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    17 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us