Multimedia Systems - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

Multimedia Systems

Description:

Slides adapted from material created by Chris Wren and Paris Smaragdis. Images. Transforms (cont. ... If we pick one out of two samples we will introduce aliasing ... – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 27
Provided by: kyratsoka
Category:

less

Transcript and Presenter's Notes

Title: Multimedia Systems


1
Multimedia Systems Interfaces
  • Slides adapted from material created by Chris
    Wren and Paris Smaragdis

2
Images
  • Transforms (cont.)
  • Sampling (cont.)
  • Filter examples

3
Affine Transforms
4
(No Transcript)
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
21
(No Transcript)
22
Sampling
23
Downsampling
  • From high sample rate to low
  • Downsampling by 2
  • If we pick one out of two samples we will
    introduce aliasing
  • In order to get around it we can remove the high
    frequencies first and then pick samples
  • For downsampling by M
  • Lowpass to 1/M
  • Then pick one out of M samples
  • Only works for integer M
  • Loss of information (high freqs)
  • We can double up as well
  • To downsample by M 8 we can downsample three
    times by M 2
  • Use MATLABs decimate for this

24
Upsampling
  • From low sample rate to high
  • For upsampling by L
  • Put L-1 zeros between each sample
  • Lowpass filter to 1/L
  • Only works for integer L
  • Without filtering we get these noisy clicks
  • No loss of information
  • We can combine multiple upsamplers
  • To upsample by L8 we can upsample three times by
    L2
  • Use MATLABs interp

25
What if the ratio is not integer?
  • Describe it using two integers
  • E.g. to go from 44.1kHz to 48kHz
  • Upsample by 1.0884
  • This is 480/441
  • We can upsample by 480 and downsample by 441!
  • Efficiency
  • There are ways to deal with not having to
    upsample by 480
  • Using tricky bookkeeping we can consolidate the
    two operations into one
  • For huge inputs it can be brutal otherwise!
  • Thats why CDs are 44.1kHz and DATs are 48kHz, to
    make resampling a pain
  • For nasty ratios we might get to lose a little
    bit of information
  • But it all sounds good pretty much always
  • Use MATLABs resample

44.1kHz
21168 kHz
Upsample by 480
21168 kHz
Downsample by 441
48 kHz
26
As we recall from last class, we should consider
the Nyquist rate when sampling. A very good
example can be found in wikipedia under Nyquist.
Write a Comment
User Comments (0)
About PowerShow.com