SlideShare a Scribd company logo
1 of 33
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
Faculty of Science, Technology and Communication (FSTC)
Bachelor en informatique (professionnel)
-- Media IT -–
¯_(ツ)_/¯
Unit 2
Signal basics and
digitalization
include slides: sampling with a tool
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2
jakub
TU + FU-Berlin, Media IT
Bilderstellung:
(animated) GIF erstellen
Signal-Rauschverhältnis
Statistik Datenerhebung
Projekt: Medienerstellung
Podcast
Film
Stopmotion
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 3
origin of alphabet
https://www.ted.com/talks/wanis_kabbaj_how_nationalism_and_globalism_can_coexist
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
Find the errror:
1 2 3 4 5 6 7 8 9
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
5
2.1 Media
2.2 Coding
2.3 Analog signals
2.4 Fourier transform
2.5 Digitalization
2.6 Exercise
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.1 Media
Content uses different forms, e.g., text,
audio, images, animations, video and
interactive content
Multi- & mono-media
Multimedia Content is presented in one formMonomedia
Microsoft Minecraft Feierkrop
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.1 Media
Information can be perceived by our
nervous system using different inputs (or
senses), e.g., audio or visual
Multi- & mono-modal
Multimodal Information can be perceived by our
nervous system using a single input (or
sense)
Monomodal
Watching TV is a multimodal activity as your
see and hear sounds at the same time.
Reading a multimedia document with a braille-
reader is a tactile sense activity.
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.2 Coding
Information has to be expressed using a specific code in order to communicate with another human or a
machine
Coding of information
Coding
Coding for inter-human communication (examples) Coding for human-machine communication (examples)
Braille, NASA-Code...
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.2 Coding
A digital signal is a signal that is being used to
represent data as a sequence of discrete values; at any
given time it can only take on one of a finite number of
values.
Digital
Example: logical or binary signal
An analog signal is any continuous signal for which the
time-varying feature (variable) of the signal is a
representation of some other time varying quantity, i.e.,
analogous to another time varying signal.
Analog
Example: audio signal
The signal can be represented with two distinguishable levels of
the Boolean domain (1 and 0).
The signal can be represented with an infinite number of levels.
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.2 Coding
Interpretation of a digital signal
The decimal number 88 (64+16+8=88)
The symbol X in ASCII
A sample from an audio file
1.
2.
3.
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 11
2. Signal basics and digitalization
2.3 Analog signals
Sine wave
The oscillation of an undamped
spring-mass system around
the equilibrium is a sine wave
A lot of natural phenomes follow a sine wave
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 12
2. Signal basics and digitalization
Sine waves
A perfect signal is represented by a sine wave
t
wave period (T)
(one full sine wave)
Amplitude (A)
Frequency (f) with 𝑓 =
1
𝑇
t
phase ( 𝛗)
Two sine waves of same frequency but different phase
𝒚 𝒕 = 𝑨 ∙ 𝒔𝒊𝒏(𝟐 ∙ 𝝅 ∙ 𝒇 ∙ 𝒕 + 𝝋)
2.3 Analog signals
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 13
2. Signal basics and digitalization
2.3 Analog signals
Sinus waves
A perfect signal is represented by a sine wave
t
Two sine waves where the blue one has double frequency
t
Two sine waves where the blue one has double amplitude
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.3 Analog signals
Sinus waves
In nature, analog signals are commonly a combination (addition) of multiple sine waves
+
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 15
2. Signal basics and digitalization
2.3 Analog signals
Sinus waves
Two sinus waves with slightly different frequencies and the resulting frequency
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and Digitlization
2.3 Analog signals
Sinus waves
In nature, analog signals are commonly a combination (addition) of multiple sine waves
Sound (audio) is in nature
always a combination of
different sound waves. Humans hear frequencies from 20 Hz up to
20,000 Hz.
As we get older, or exposed to loud sounds which
damage our ears (such as loud concerts), the
upper limit decreases
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 17
2. Signal basics and digitalization
https://youtu.be/qNf9nzvnd1k
2.3 Analog signals
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 18
2. Signal basics and digitalization
2.4 Fourier transform
The Fourier analyze decomposes a function of time (a signal) into the frequencies
that make it up, i.e., in an (infinite) number of cosine waves
Fourier transform
𝒇 𝝃 =
−∞
∞
𝒇(𝒙) 𝒆−𝟐𝝅𝒊𝒙𝝃
𝒅𝝃
Jean-Baptiste
Joseph Fourier (21
March 1768 – 16
May 1830) was a
French
mathematician
and physicist born
in Auxerre
Applications:
• Decomposition of light into its different colors (frequency spectrum)
• Noise reduction or detection of very high or very low sounds
• Filtering in the context of images (color spectrum)
𝒙 𝒕 =
𝒌=𝟎
∞
𝒂 𝒌 ∙ cos 𝑘𝜔0 𝑡 + 𝜃 𝑘
The Fourier analyze requires a sample of a periodic signal. Therefore, the signal is
decomposed in frequency samples (Fourier transform)
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 19
2. Signal basics and digitalization
2.4 Fourier transform
Diagram illustrating the electromagnetic spectrum by NASA
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 20
2. Signal basics and digitalization
2.4 Fourier transform
Fourier transform
Original function showing oscillation 3 Hz Real and imaginary parts of integrand for Fourier
transform at 3 Hz
Fourier transform
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Digitalization is the process of transforming an analog signal into a digital signal.
Digitalization
Digitalization has two steps: sampling and quantization
Digital signal (red) is the sampled and rounded
representation of the grey analog signal
Sampling
A digital signal (red) that is produced by sampling may
be considered discrete in time as well as by value, and
is equivalent to a series of numbers, 4, 5, 4, 3, 4, 6, etc.
Quantization
Sampling: how often a sample of the analog signal is taken
 Sampling rate (fs) is expressed in Hertz (Hz)
Quantization: the granularity of each sample or levels
 Resolution (r) is expressed in bits
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
t
11
10
01
00
11
10
01
00
11
10
01
00
11
10
01
00
11
10
01
00
2. Signal basics and digitalization
2.5 Digitalization
The resulting discrete signal is
represented in red
Example
Let’s set fs = 5 Hz which means that we
take 5 samples per period (vertical lines)
Given is the blue signal which has a
duration of t = 1 s
Let’s set r = 2 bits which gives 4 different
levels (horizontal lines)
The resulting binary signal is:
1011111100 (10 Bits)
The result is a huge loss in data due to
the poor sampling rate and quantization
vector.
Result
10
11 11 11
00
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Example
Let’s set fs = 5 Hz which means that we
take 5 samples per period (vertical lines)
Given is the blue signal which has a
duration of t = 1 s
Let’s set use 3 bits for quantization
which gives 4 different levels (horizontal
lines)
t
The resulting discrete signal is
represented in red
The resulting binary signal is:
100111101110001 (15 bits)
Result
The result is a huge loss in data due to
the poor sampling rate and quantization
vector. 000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
000
001
010
011
100
101
110
111
100
111
101
110
001
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Example
Let’s set fs = 10 Hz which means that we
take 5 samples per period (vertical lines)
Given is the blue signal which has a
duration of t = 1 s
Let’s set use 2 bits for quantization
which gives 4 different levels (horizontal
lines)
t
The resulting discrete signal is
represented in red
The resulting binary signal is:
10101111111011100100 (20
bits)
Result
The result is a huge loss in data due to
the poor sampling rate and quantization
vector.
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
10 10 10 10
11 11 11 11
01
00
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Example
t
fs = 20 Hz, 2 bits
Required memory: 40 bits
fs = 5 Hz, 2 bits
Required memory: 10 bits
t
t
fs = 10 Hz, 2 bits
Required memory: 20 bits
fs = 5 Hz, 3 bits
Required memory: 15 bits
t t
fs = 5 Hz, 4 bits
Required memory: 20 bits
reconstructed signal
original signal
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 26
2. Signal basics and digitalization
2.5 Digitalization
Sampling is the process of transforming a continuous
analog (time) signal into a set of discrete counterparts
Sampling theorem
t t
Any signal can be reconstructed if the sampling rate is at
least double the signal frequency
Nyquist theorem: any signal can be
reconstructed if the sampling rate (fa) is
at least double the signal frequency (fM)
𝒇 𝒂 = 𝟐 ∙ 𝒇 𝑴
Harry Nyquist
(1889 – 1976) was
a Swedish-born
American electronic
engineer
A perfect sine wave can be reconstructed with 2 samples
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Bit rate is the product of the sampling rate and the resolution (fs • r) expressed in bit per second (bps)
Bit rates
Examples of common bit rates:
Sampling rate Resolution Bit rate
Telephone, cassette 8 KHz 8 bit 64 Kbps
AM radio 11 KHz 8 bit 88 Kbps
FM radio 22 KHz 16 bit 352 Kbps
CD 44 KHz 16 bit 705 Kbps
DVD, digital TV 48 KHz
Professional recording systems > 96 KHz
Direct Stream Digital (DSD) for
Super Audio CD
2,2 Mhz 16 bit 45000 Kbps
The human ear can hear sounds up to 22 KHz. Therefore, the required sample rate is
double the signal frequency according Nyquist theorem
27
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 28
Why do the wheels
of coaches often
seem to spin
backwards in
movies?
Why do the wheels
of coaches often
seem to spin
backwards in
movies?
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 29
Why do the wheels
of coaches often
seem to spin
backwards in
movies?
Actual wheel movement
Nice illustration to watch:
https://www.spektrum.de/frage/warum-drehen-sich-die-raeder-von-kutschen-oder-autos-in-filmen-rueckwaerts-obwohl-die-fahrzeuge-doch/614132
Recording over time
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 30
Why do the wheels
of coaches often
seem to spin
backwards in
movies?
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Aliasing
Sampled red signal with:
fs = 5 Hz
r = 2 bit
Given is the blue signal which has a
duration of t = 1 s
t
Sampling errors are:
• signals that are too high
• signals that are too low
Reconstructed
signal is too high
As these errors are the results of a
insufficient reconstruction but stand for
the original signal, they are commonly
called Aliasing
The result of aliasing is, e.g.:
• Audio sampling: high or low sounds
that are not present in the original
• Image sampling: Moiré effect
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.5 Digitalization
Moiré effect
In image processing, Moiré effect appears when the reconstructed results has errors due to Aliasing
Two sets of parallel
lines, one set inclined at
an angle of 5° to the
other
Line moiré with slow movement of
the revealing layer upward
https://youtu.be/jXEgnRWRJfg
Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu ::
2. Signal basics and digitalization
2.6 Exercise
Practical exercises
Calculate the required space to digitalize exactly 3 minutes of sound in DVD quality!
1.
How much music can you store on a 512 GB USB memory stick with the highest level of quality supported by
the MP3 standard?2.
How it works
• Try out the two exercises alone.
• Discuss your results with another student.
• This work is not considered for your final grade.
Memory units for a byte: kilo (K), mega (M), giga (G), tera (T), peta (P), exa (E), zetta (Z), yotta (Y)

More Related Content

What's hot (20)

Digaudio
DigaudioDigaudio
Digaudio
 
Analog Vs Digital Signals
Analog Vs Digital SignalsAnalog Vs Digital Signals
Analog Vs Digital Signals
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics Notes
 
Mp3 player working by digital signal processing
Mp3 player working by digital signal processingMp3 player working by digital signal processing
Mp3 player working by digital signal processing
 
Soundpres
SoundpresSoundpres
Soundpres
 
digital signal processing
digital signal processing digital signal processing
digital signal processing
 
Scct2013 topic 4_audio
Scct2013 topic 4_audioScct2013 topic 4_audio
Scct2013 topic 4_audio
 
Digital Audio in Multimedia
Digital Audio in MultimediaDigital Audio in Multimedia
Digital Audio in Multimedia
 
Chap65
Chap65Chap65
Chap65
 
Compression
CompressionCompression
Compression
 
Discrete-Time Signal Processing
Discrete-Time Signal ProcessingDiscrete-Time Signal Processing
Discrete-Time Signal Processing
 
Introduction to dsp
Introduction to dspIntroduction to dsp
Introduction to dsp
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
05 audio
05 audio05 audio
05 audio
 
DIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSINGDIGITAL SIGNAL PROCESSING
DIGITAL SIGNAL PROCESSING
 
Chapter 2 Part2 A
Chapter 2 Part2 AChapter 2 Part2 A
Chapter 2 Part2 A
 
Logic design and switching theory
Logic design and switching theoryLogic design and switching theory
Logic design and switching theory
 
Lecture 18 (5)
Lecture 18 (5)Lecture 18 (5)
Lecture 18 (5)
 
Practical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and TechniciansPractical Digital Signal Processing for Engineers and Technicians
Practical Digital Signal Processing for Engineers and Technicians
 
Introduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthiaIntroduction to dsp by bibhu prasad ganthia
Introduction to dsp by bibhu prasad ganthia
 

Similar to Media IT - Coding

Analogue to digital conversion
Analogue to digital conversionAnalogue to digital conversion
Analogue to digital conversionsimonandisa
 
multimedia chapter1
multimedia chapter1multimedia chapter1
multimedia chapter1nes
 
Digital Technology
Digital TechnologyDigital Technology
Digital Technologysimonandisa
 
Noise influence and environmental impact
Noise influence and environmental impactNoise influence and environmental impact
Noise influence and environmental impactchilinks4all1
 
Digital Audio Watermarking Using Psychoacoustic Model and CDMA Modulation
Digital Audio Watermarking Using Psychoacoustic Model and CDMA ModulationDigital Audio Watermarking Using Psychoacoustic Model and CDMA Modulation
Digital Audio Watermarking Using Psychoacoustic Model and CDMA Modulationsipij
 
digital-communication-lecture-1 (1).ppt
digital-communication-lecture-1 (1).pptdigital-communication-lecture-1 (1).ppt
digital-communication-lecture-1 (1).pptKevin317696
 
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐCHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐlykhnh386525
 
Communication System (3).ppt
Communication System (3).pptCommunication System (3).ppt
Communication System (3).pptPrathamesh508521
 
The Physical Layer
The Physical LayerThe Physical Layer
The Physical Layeradil raja
 
Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principlesmekind
 
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...Feature Based watermarking algorithm for Image Authentication using D4 Wavele...
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...sipij
 
Introduction to Computer Networking and Types
Introduction to Computer Networking and TypesIntroduction to Computer Networking and Types
Introduction to Computer Networking and TypesProf Ansari
 
Electromagnetic Spectrum- Digital signal and transmission
Electromagnetic Spectrum- Digital signal and transmission Electromagnetic Spectrum- Digital signal and transmission
Electromagnetic Spectrum- Digital signal and transmission mnandin
 

Similar to Media IT - Coding (20)

Analogue to digital conversion
Analogue to digital conversionAnalogue to digital conversion
Analogue to digital conversion
 
multimedia chapter1
multimedia chapter1multimedia chapter1
multimedia chapter1
 
Coding
CodingCoding
Coding
 
Digital Technology
Digital TechnologyDigital Technology
Digital Technology
 
Noise influence and environmental impact
Noise influence and environmental impactNoise influence and environmental impact
Noise influence and environmental impact
 
Digital Audio Watermarking Using Psychoacoustic Model and CDMA Modulation
Digital Audio Watermarking Using Psychoacoustic Model and CDMA ModulationDigital Audio Watermarking Using Psychoacoustic Model and CDMA Modulation
Digital Audio Watermarking Using Psychoacoustic Model and CDMA Modulation
 
LECTURE 2.pptx
LECTURE 2.pptxLECTURE 2.pptx
LECTURE 2.pptx
 
digital-communication-lecture-1 (1).ppt
digital-communication-lecture-1 (1).pptdigital-communication-lecture-1 (1).ppt
digital-communication-lecture-1 (1).ppt
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐCHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
 
Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department Wolkite polytechnic college ICT Department
Wolkite polytechnic college ICT Department
 
Assiment
AssimentAssiment
Assiment
 
W02 l03 information-communication (1)
W02 l03 information-communication (1)W02 l03 information-communication (1)
W02 l03 information-communication (1)
 
Communication System (3).ppt
Communication System (3).pptCommunication System (3).ppt
Communication System (3).ppt
 
The Physical Layer
The Physical LayerThe Physical Layer
The Physical Layer
 
Fit l03 information_communication
Fit l03 information_communicationFit l03 information_communication
Fit l03 information_communication
 
Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...Feature Based watermarking algorithm for Image Authentication using D4 Wavele...
Feature Based watermarking algorithm for Image Authentication using D4 Wavele...
 
Introduction to Computer Networking and Types
Introduction to Computer Networking and TypesIntroduction to Computer Networking and Types
Introduction to Computer Networking and Types
 
Electromagnetic Spectrum- Digital signal and transmission
Electromagnetic Spectrum- Digital signal and transmission Electromagnetic Spectrum- Digital signal and transmission
Electromagnetic Spectrum- Digital signal and transmission
 

More from Serge Linckels

Media IT - XML and XML Transformation (XSLT)
Media IT - XML and XML Transformation (XSLT)Media IT - XML and XML Transformation (XSLT)
Media IT - XML and XML Transformation (XSLT)Serge Linckels
 
Media IT - XML and sublanguages
Media IT - XML and sublanguagesMedia IT - XML and sublanguages
Media IT - XML and sublanguagesSerge Linckels
 
Media IT - author rights
Media IT - author rightsMedia IT - author rights
Media IT - author rightsSerge Linckels
 
Media IT - Natural Language Processing
Media IT - Natural Language ProcessingMedia IT - Natural Language Processing
Media IT - Natural Language ProcessingSerge Linckels
 
Semantic Web - Search engines
Semantic Web - Search enginesSemantic Web - Search engines
Semantic Web - Search enginesSerge Linckels
 
Semantic Web - Ontologies
Semantic Web - OntologiesSemantic Web - Ontologies
Semantic Web - OntologiesSerge Linckels
 
Semantic Web - XML and sublanguages
Semantic Web - XML and sublanguagesSemantic Web - XML and sublanguages
Semantic Web - XML and sublanguagesSerge Linckels
 
Semantic Web - Overview
Semantic Web - OverviewSemantic Web - Overview
Semantic Web - OverviewSerge Linckels
 
Semantic Web - Introduction
Semantic Web - IntroductionSemantic Web - Introduction
Semantic Web - IntroductionSerge Linckels
 

More from Serge Linckels (14)

Media IT - XML and XML Transformation (XSLT)
Media IT - XML and XML Transformation (XSLT)Media IT - XML and XML Transformation (XSLT)
Media IT - XML and XML Transformation (XSLT)
 
Media IT - XML and sublanguages
Media IT - XML and sublanguagesMedia IT - XML and sublanguages
Media IT - XML and sublanguages
 
Media IT - author rights
Media IT - author rightsMedia IT - author rights
Media IT - author rights
 
Media IT - Images
Media IT - ImagesMedia IT - Images
Media IT - Images
 
Media IT - Entropy
Media IT - EntropyMedia IT - Entropy
Media IT - Entropy
 
Media IT - Natural Language Processing
Media IT - Natural Language ProcessingMedia IT - Natural Language Processing
Media IT - Natural Language Processing
 
Semantic Web - Search engines
Semantic Web - Search enginesSemantic Web - Search engines
Semantic Web - Search engines
 
Semantic Web - OWL
Semantic Web - OWLSemantic Web - OWL
Semantic Web - OWL
 
Semantic Web - Ontologies
Semantic Web - OntologiesSemantic Web - Ontologies
Semantic Web - Ontologies
 
Semantic Web - RDF
Semantic Web - RDFSemantic Web - RDF
Semantic Web - RDF
 
Semantic Web - XML and sublanguages
Semantic Web - XML and sublanguagesSemantic Web - XML and sublanguages
Semantic Web - XML and sublanguages
 
Semantic Web - Overview
Semantic Web - OverviewSemantic Web - Overview
Semantic Web - Overview
 
Semantic Web - Introduction
Semantic Web - IntroductionSemantic Web - Introduction
Semantic Web - Introduction
 
E-Librarian Service
E-Librarian ServiceE-Librarian Service
E-Librarian Service
 

Recently uploaded

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Media IT - Coding

  • 1. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: Faculty of Science, Technology and Communication (FSTC) Bachelor en informatique (professionnel) -- Media IT -– ¯_(ツ)_/¯ Unit 2 Signal basics and digitalization include slides: sampling with a tool
  • 2. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2 jakub TU + FU-Berlin, Media IT Bilderstellung: (animated) GIF erstellen Signal-Rauschverhältnis Statistik Datenerhebung Projekt: Medienerstellung Podcast Film Stopmotion
  • 3. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 3 origin of alphabet https://www.ted.com/talks/wanis_kabbaj_how_nationalism_and_globalism_can_coexist
  • 4. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: Find the errror: 1 2 3 4 5 6 7 8 9
  • 5. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 5 2.1 Media 2.2 Coding 2.3 Analog signals 2.4 Fourier transform 2.5 Digitalization 2.6 Exercise
  • 6. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.1 Media Content uses different forms, e.g., text, audio, images, animations, video and interactive content Multi- & mono-media Multimedia Content is presented in one formMonomedia Microsoft Minecraft Feierkrop
  • 7. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.1 Media Information can be perceived by our nervous system using different inputs (or senses), e.g., audio or visual Multi- & mono-modal Multimodal Information can be perceived by our nervous system using a single input (or sense) Monomodal Watching TV is a multimodal activity as your see and hear sounds at the same time. Reading a multimedia document with a braille- reader is a tactile sense activity.
  • 8. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.2 Coding Information has to be expressed using a specific code in order to communicate with another human or a machine Coding of information Coding Coding for inter-human communication (examples) Coding for human-machine communication (examples) Braille, NASA-Code...
  • 9. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.2 Coding A digital signal is a signal that is being used to represent data as a sequence of discrete values; at any given time it can only take on one of a finite number of values. Digital Example: logical or binary signal An analog signal is any continuous signal for which the time-varying feature (variable) of the signal is a representation of some other time varying quantity, i.e., analogous to another time varying signal. Analog Example: audio signal The signal can be represented with two distinguishable levels of the Boolean domain (1 and 0). The signal can be represented with an infinite number of levels.
  • 10. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.2 Coding Interpretation of a digital signal The decimal number 88 (64+16+8=88) The symbol X in ASCII A sample from an audio file 1. 2. 3.
  • 11. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 11 2. Signal basics and digitalization 2.3 Analog signals Sine wave The oscillation of an undamped spring-mass system around the equilibrium is a sine wave A lot of natural phenomes follow a sine wave
  • 12. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 12 2. Signal basics and digitalization Sine waves A perfect signal is represented by a sine wave t wave period (T) (one full sine wave) Amplitude (A) Frequency (f) with 𝑓 = 1 𝑇 t phase ( 𝛗) Two sine waves of same frequency but different phase 𝒚 𝒕 = 𝑨 ∙ 𝒔𝒊𝒏(𝟐 ∙ 𝝅 ∙ 𝒇 ∙ 𝒕 + 𝝋) 2.3 Analog signals
  • 13. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 13 2. Signal basics and digitalization 2.3 Analog signals Sinus waves A perfect signal is represented by a sine wave t Two sine waves where the blue one has double frequency t Two sine waves where the blue one has double amplitude
  • 14. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.3 Analog signals Sinus waves In nature, analog signals are commonly a combination (addition) of multiple sine waves +
  • 15. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 15 2. Signal basics and digitalization 2.3 Analog signals Sinus waves Two sinus waves with slightly different frequencies and the resulting frequency
  • 16. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and Digitlization 2.3 Analog signals Sinus waves In nature, analog signals are commonly a combination (addition) of multiple sine waves Sound (audio) is in nature always a combination of different sound waves. Humans hear frequencies from 20 Hz up to 20,000 Hz. As we get older, or exposed to loud sounds which damage our ears (such as loud concerts), the upper limit decreases
  • 17. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 17 2. Signal basics and digitalization https://youtu.be/qNf9nzvnd1k 2.3 Analog signals
  • 18. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 18 2. Signal basics and digitalization 2.4 Fourier transform The Fourier analyze decomposes a function of time (a signal) into the frequencies that make it up, i.e., in an (infinite) number of cosine waves Fourier transform 𝒇 𝝃 = −∞ ∞ 𝒇(𝒙) 𝒆−𝟐𝝅𝒊𝒙𝝃 𝒅𝝃 Jean-Baptiste Joseph Fourier (21 March 1768 – 16 May 1830) was a French mathematician and physicist born in Auxerre Applications: • Decomposition of light into its different colors (frequency spectrum) • Noise reduction or detection of very high or very low sounds • Filtering in the context of images (color spectrum) 𝒙 𝒕 = 𝒌=𝟎 ∞ 𝒂 𝒌 ∙ cos 𝑘𝜔0 𝑡 + 𝜃 𝑘 The Fourier analyze requires a sample of a periodic signal. Therefore, the signal is decomposed in frequency samples (Fourier transform)
  • 19. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 19 2. Signal basics and digitalization 2.4 Fourier transform Diagram illustrating the electromagnetic spectrum by NASA
  • 20. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 20 2. Signal basics and digitalization 2.4 Fourier transform Fourier transform Original function showing oscillation 3 Hz Real and imaginary parts of integrand for Fourier transform at 3 Hz Fourier transform
  • 21. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Digitalization is the process of transforming an analog signal into a digital signal. Digitalization Digitalization has two steps: sampling and quantization Digital signal (red) is the sampled and rounded representation of the grey analog signal Sampling A digital signal (red) that is produced by sampling may be considered discrete in time as well as by value, and is equivalent to a series of numbers, 4, 5, 4, 3, 4, 6, etc. Quantization Sampling: how often a sample of the analog signal is taken  Sampling rate (fs) is expressed in Hertz (Hz) Quantization: the granularity of each sample or levels  Resolution (r) is expressed in bits
  • 22. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: t 11 10 01 00 11 10 01 00 11 10 01 00 11 10 01 00 11 10 01 00 2. Signal basics and digitalization 2.5 Digitalization The resulting discrete signal is represented in red Example Let’s set fs = 5 Hz which means that we take 5 samples per period (vertical lines) Given is the blue signal which has a duration of t = 1 s Let’s set r = 2 bits which gives 4 different levels (horizontal lines) The resulting binary signal is: 1011111100 (10 Bits) The result is a huge loss in data due to the poor sampling rate and quantization vector. Result 10 11 11 11 00
  • 23. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Example Let’s set fs = 5 Hz which means that we take 5 samples per period (vertical lines) Given is the blue signal which has a duration of t = 1 s Let’s set use 3 bits for quantization which gives 4 different levels (horizontal lines) t The resulting discrete signal is represented in red The resulting binary signal is: 100111101110001 (15 bits) Result The result is a huge loss in data due to the poor sampling rate and quantization vector. 000 001 010 011 100 101 110 111 000 001 010 011 100 101 110 111 000 001 010 011 100 101 110 111 000 001 010 011 100 101 110 111 000 001 010 011 100 101 110 111 100 111 101 110 001
  • 24. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Example Let’s set fs = 10 Hz which means that we take 5 samples per period (vertical lines) Given is the blue signal which has a duration of t = 1 s Let’s set use 2 bits for quantization which gives 4 different levels (horizontal lines) t The resulting discrete signal is represented in red The resulting binary signal is: 10101111111011100100 (20 bits) Result The result is a huge loss in data due to the poor sampling rate and quantization vector. 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 10 10 10 10 11 11 11 11 01 00
  • 25. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Example t fs = 20 Hz, 2 bits Required memory: 40 bits fs = 5 Hz, 2 bits Required memory: 10 bits t t fs = 10 Hz, 2 bits Required memory: 20 bits fs = 5 Hz, 3 bits Required memory: 15 bits t t fs = 5 Hz, 4 bits Required memory: 20 bits reconstructed signal original signal
  • 26. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 26 2. Signal basics and digitalization 2.5 Digitalization Sampling is the process of transforming a continuous analog (time) signal into a set of discrete counterparts Sampling theorem t t Any signal can be reconstructed if the sampling rate is at least double the signal frequency Nyquist theorem: any signal can be reconstructed if the sampling rate (fa) is at least double the signal frequency (fM) 𝒇 𝒂 = 𝟐 ∙ 𝒇 𝑴 Harry Nyquist (1889 – 1976) was a Swedish-born American electronic engineer A perfect sine wave can be reconstructed with 2 samples
  • 27. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Bit rate is the product of the sampling rate and the resolution (fs • r) expressed in bit per second (bps) Bit rates Examples of common bit rates: Sampling rate Resolution Bit rate Telephone, cassette 8 KHz 8 bit 64 Kbps AM radio 11 KHz 8 bit 88 Kbps FM radio 22 KHz 16 bit 352 Kbps CD 44 KHz 16 bit 705 Kbps DVD, digital TV 48 KHz Professional recording systems > 96 KHz Direct Stream Digital (DSD) for Super Audio CD 2,2 Mhz 16 bit 45000 Kbps The human ear can hear sounds up to 22 KHz. Therefore, the required sample rate is double the signal frequency according Nyquist theorem 27
  • 28. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 28 Why do the wheels of coaches often seem to spin backwards in movies? Why do the wheels of coaches often seem to spin backwards in movies?
  • 29. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 29 Why do the wheels of coaches often seem to spin backwards in movies? Actual wheel movement Nice illustration to watch: https://www.spektrum.de/frage/warum-drehen-sich-die-raeder-von-kutschen-oder-autos-in-filmen-rueckwaerts-obwohl-die-fahrzeuge-doch/614132 Recording over time
  • 30. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 30 Why do the wheels of coaches often seem to spin backwards in movies?
  • 31. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Aliasing Sampled red signal with: fs = 5 Hz r = 2 bit Given is the blue signal which has a duration of t = 1 s t Sampling errors are: • signals that are too high • signals that are too low Reconstructed signal is too high As these errors are the results of a insufficient reconstruction but stand for the original signal, they are commonly called Aliasing The result of aliasing is, e.g.: • Audio sampling: high or low sounds that are not present in the original • Image sampling: Moiré effect
  • 32. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.5 Digitalization Moiré effect In image processing, Moiré effect appears when the reconstructed results has errors due to Aliasing Two sets of parallel lines, one set inclined at an angle of 5° to the other Line moiré with slow movement of the revealing layer upward https://youtu.be/jXEgnRWRJfg
  • 33. Media IT :: Dr Serge Linckels :: http://www.linckels.lu/ :: serge@linckels.lu :: 2. Signal basics and digitalization 2.6 Exercise Practical exercises Calculate the required space to digitalize exactly 3 minutes of sound in DVD quality! 1. How much music can you store on a 512 GB USB memory stick with the highest level of quality supported by the MP3 standard?2. How it works • Try out the two exercises alone. • Discuss your results with another student. • This work is not considered for your final grade. Memory units for a byte: kilo (K), mega (M), giga (G), tera (T), peta (P), exa (E), zetta (Z), yotta (Y)