Media Devices: Audio. CTEC1465/2018S Computer System Support

Similar documents
Chapter 3 Data and Signals

Chapter 2: Digitization of Sound

ECE 556 BASICS OF DIGITAL SPEECH PROCESSING. Assıst.Prof.Dr. Selma ÖZAYDIN Spring Term-2017 Lecture 2

CS101 Lecture 18: Audio Encoding. What You ll Learn Today

In this lecture. System Model Power Penalty Analog transmission Digital transmission

Waveform Encoding - PCM. BY: Dr.AHMED ALKHAYYAT. Chapter Two

Chapter Two. Fundamentals of Data and Signals. Data Communications and Computer Networks: A Business User's Approach Seventh Edition

Transmission Impairments

Music 270a: Fundamentals of Digital Audio and Discrete-Time Signals

CHAPTER 4. PULSE MODULATION Part 2

Digital Audio. Lecture-6

Chapter 3 Data and Signals 3.1

Pulse Code Modulation

Basic Concepts in Data Transmission

two computers. 2- Providing a channel between them for transmitting and receiving the signals through it.

Outline / Wireless Networks and Applications Lecture 3: Physical Layer Signals, Modulation, Multiplexing. Cartoon View 1 A Wave of Energy

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

Pulse Code Modulation

Continuous vs. Discrete signals. Sampling. Analog to Digital Conversion. CMPT 368: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

Chapter 2. Physical Layer

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Direct link. Point-to-point.

Laboratory Assignment 2 Signal Sampling, Manipulation, and Playback

CMPT 318: Lecture 4 Fundamentals of Digital Audio, Discrete-Time Signals

EE482: Digital Signal Processing Applications

DATA COMMUNICATION. Channel and Noise

Announcements : Wireless Networks Lecture 3: Physical Layer. Bird s Eye View. Outline. Page 1

Cyber-Physical Systems ADC / DAC

Communications I (ELCN 306)

Lecture 3: Data Transmission

Data Communications & Computer Networks

Terminology (1) Chapter 3. Terminology (3) Terminology (2) Transmitter Receiver Medium. Data Transmission. Simplex. Direct link.

Experiment 02: Amplitude Modulation

Physical Layer. Networks: Physical Layer 1

UNIT TEST I Digital Communication

Chapter 3. Data Transmission

Fundamentals of Data and Signals

Communications IB Paper 6 Handout 3: Digitisation and Digital Signals

! Where are we on course map? ! What we did in lab last week. " How it relates to this week. ! Sampling/Quantization Review

Review of Lecture 2. Data and Signals - Theoretical Concepts. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2. Review of Lecture 2

Analog-Digital Interface

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2015 Lecture #5

Contents. Telecom Service Chae Y. Lee. Data Signal Transmission Transmission Impairments Channel Capacity

College of information Technology Department of Information Networks Telecommunication & Networking I Chapter DATA AND SIGNALS 1 من 42

Voice Transmission --Basic Concepts--

Chapter 3 Data Transmission

Sound/Audio. Slides courtesy of Tay Vaughan Making Multimedia Work

Introduction to Telecommunications and Computer Engineering Unit 3: Communications Systems & Signals

Physical Layer: Outline

Data com ch#3 (part 2)


Data Transmission (II)

Announcement : Wireless Networks Lecture 3: Physical Layer. A Reminder about Prerequisites. Outline. Page 1

TE 302 DISCRETE SIGNALS AND SYSTEMS. Chapter 1: INTRODUCTION

Lab.3. Tutorial : (draft) Introduction to CODECs

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

Chapter 3 Data Transmission COSC 3213 Summer 2003

Fundamentals of Digital Audio *

Data and Computer Communications. Chapter 3 Data Transmission

ANALOG-TO-DIGITAL CONVERTERS

EITF25 Internet Techniques and Applications L2: Physical layer. Stefan Höst

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

Overview. Lecture 3. Terminology. Terminology. Background. Background. Transmission basics. Transmission basics. Two signal types

Nyquist, Shannon and the information carrying capacity of signals

COMP211 Physical Layer

Lecture Fundamentals of Data and signals

Communication Limits. Goals. Parity. RS-232 Format

Digital Sampling. This Lecture. Engr325 Instrumentation. Dr Curtis Nelson. Digital sampling Sample rate. Bit depth. Other terms. Types of conversion.

Data Communication. Chapter 3 Data Transmission

MULTIMEDIA SYSTEMS

Analogue Signals. M J Brockway. February 5, 2018

10 Speech and Audio Signals

EE 421L Digital Electronics Laboratory. Laboratory Exercise #9 ADC and DAC

Chapter 2: Fundamentals of Data and Signals

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

FYS3240 PC-based instrumentation and microcontrollers. Signal sampling. Spring 2017 Lecture #5

CT111 Introduction to Communication Systems Lecture 9: Digital Communications

2: Audio Basics. Audio Basics. Mark Handley

CHAPTER 2 - DIGITAL DATA REPRESENTATION AND NUMBERING SYSTEMS

Understanding PDM Digital Audio. Thomas Kite, Ph.D. VP Engineering Audio Precision, Inc.

One-Bit Delta Sigma D/A Conversion Part I: Theory

Lecture 4: Digital representation and data analysis

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 6 Spectrum Analysis -- FFT

Lab 4: Using the CODEC

SIGNALS AND SYSTEMS LABORATORY 13: Digital Communication

2. By convention, the minimum and maximum values of analog data and signals are presented as voltages.

Handout 11: Digital Baseband Transmission

Choosing the Best ADC Architecture for Your Application Part 3:

Topic 2. Signal Processing Review. (Some slides are adapted from Bryan Pardo s course slides on Machine Perception of Music)

Downloaded from 1

Part II Data Communications

COMP467. Local Asynchronous Communication. Goals. Data is usually sent over a single channel one bit at a time.

Stream Information. A real-time voice signal must be digitized & transmitted as it is produced Analog signal level varies continuously in time

for amateur radio applications and beyond...

EE390 Final Exam Fall Term 2002 Friday, December 13, 2002

Time division multiplexing The block diagram for TDM is illustrated as shown in the figure

8-channel Cirrus Logic CS4382 digital-to-analog converter as used in a sound card.

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2

EE 230 Lecture 39. Data Converters. Time and Amplitude Quantization

Data Encoding g(p (part 2)

Data and Computer Communications Chapter 3 Data Transmission

Transcription:

Media Devices: Audio CTEC1465/2018S Computer System Support

Learning Objective Describe how to implement sound in a PC

Introduction The process by which sounds are stored in electronic format on your PC is called sampling. Sampling means capturing the state or quality of a particular sound wave a set number of times each second.

Introduction (2) All the characteristics of a particular sound wave amplitude, frequency, timbre need to be recorded and translated into ones and zeros to reproduce that sound accurately within the computer and out to your speakers. Sounds are sampled thousands of times per second. The amount of information stored at each sampling is called the bit depth, and the higher the bit depth, the better the recording.

Media: Audio COMMUNICATIONS AND SAMPLING THEORY

Baseband Communication Systems Information can be defined in two forms: analog digital Information is represented as a signal.

Baseband Communication Systems Analog signals: are considered continuous have an amplitude with any number of values between the signal maximum and minimum (the dynamic range )

Baseband Communication Systems Digital signals are represented by bits (zeroes and ones) and binary numbers digital signals are considered discrete Digital devices convert analog signals to digital signals using sampling and quantization.

Capacity of a Communications Channel Capacity (C), also known as throughput, is the measurement of a communications channel to carry information and is measured in Bits Per Second or bps

Capacity of a Communications Channel (with no noise present) where: C = 2 BW log 2 N BW is the bandwidth of the channel in Hertz N is the number of coding levels used when transmitting the message. For example, if binary transmission is being used, N=2.

Capacity of a Communications Channel (with no noise present) - 2 Example: If a channel has a 100 khz bandwidth and 8-level coding is being used, the capacity of the channel is: C = 2(100 khz)log 2 8 = 2(100kHz)(3 bits) = 600 kbps

Capacity of a Communications Channel (with noise present) From the above equation, to increase the capacity of a channel we simply increase the number of possible coding levels. Sounds too good to be true? Well, in reality it is too good to be true

Capacity of a Communications Channel (with noise present) - 2 This is because, in real-life, no channel is noiseless. All channels are affected by noise and there is no way to completely eliminate. Claude Shannon, a communications engineer in the 1940 s came up with a formula that included the effects of noise on the capacity of a channel.

Capacity of a Communications Channel (with noise present) - 3 The formula calculates the maximum capacity of a channel before errors in transmission start to occur: C = BW log 2 (1+S/N) where S = signal power (in watts) used in the channel N = noise power (in watts) present in the channel

Capacity of a Communications Channel (with noise present) - 4 Notice that as the noise level (N) increases, the capacity of the channel decreases. Just what you would expect. To increase the capacity of a channel with a fixed amount of noise, either increase its bandwidth (BW) or increase the signal power (S).

Nyquist Nyquist determined that the number of independent pulses that could be put through a channel per unit time is limited to twice the bandwidth of the channel: where fp is the pulse frequency (in pulses per second) and B is the bandwidth (in hertz). The quantity 2B later came to be called the Nyquist rate, and transmitting at the limiting pulse rate of 2B pulses per second as signalling at the Nyquist rate.

NOISE AND COMMUNICATIONS Where does noise originate in a communication system? 1. Channel 2. Equipment DEFINE: -undesired random variations that interfere with the desired signal and inhibit communication.

Signal-to-Noise Ratio Signal-to-noise ratio is defined as the power ratio between a signal (meaningful information) and the background noise (unwanted signal) In decibels the formula can be rewritten as: where A is root mean square (RMS) amplitude (for example, RMS voltage).

Signal-to-Noise Ratio (2) Dynamic range measures the ratio between the strongest un-distorted signal on a channel and the minimum discernable signal, which for most purposes is the noise level. SNR measures the ratio between an arbitrary signal level (not necessarily the most powerful signal possible) and noise.

Signal-to-Noise Ratio (3) Measuring signal-to-noise ratios requires the selection of a representative or reference signal. In audio engineering, the reference signal is usually a sine wave at a standardized nominal or alignment level, such as 1 khz at +4 dbu (1.228 VRMS).

Signal-to-Noise Ratio (4) For digital signals, the number of bits used to represent the measurement determines the maximum possible signal-to-noise ratio. This is because the minimum possible noise level is the error caused by the quantization noise.

Signal-to-Noise Ratio (5) For n-bit integers (i.e., fixed point Digital Signal Processing [DSP]) with equal distance between quantization levels the dynamic range (DR) is also determined. The quantization noise is a uniformly-distributed random signal with a peak-to-peak amplitude of one quantization level, making the amplitude ratio 2 n /1.

Signal-to-Noise Ratio (6) This relationship is the origin of statements like "16- bit audio has a dynamic range of 96 db". Each extra bit increases the dynamic range by roughly 6 db.

References Greg Swick, ELNC545 Course Notes (Winter 2003). John Clark, "CTEC1463 Course Notes" (Winter 2000). Charan Langton, All About Modulation - Part I, Intuitive Guide to Principles of Communications, 2002. www.complextoreal.com Retrieved from http://people.seas.harvard.edu/~jones/cscie129/papers/modulation_1.pd f on May 22, 2014.

References (2) http://en.wikipedia.org/wiki/signal-to-noise_ratio http://en.wikipedia.org/wiki/shannon-hartley_theorem http://en.wikipedia.org/wiki/decibel http://www.electronicshub.org/modulation-and-different-types-ofmodulation/ https://en.wikibooks.org/wiki/communication_systems/

Media: Audio ANALOG-TO-DIGITAL CONVERTER (ADC) & DIGITAL-TO-ANALOG CONVERTER (DAC)

Analog-to-Digital Conversion Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", 2nd ed. Retrieved from http://www.dspguide.com

Digital-to-Analog Conversion Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", 2nd ed. Retrieved from http://www.dspguide.com

Digital Signal Processing (DSP) System Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", 2nd ed. Retrieved from http://www.dspguide.com

DSP System The block diagram of a DSP system, as the sampling theorem dictates it should be. Before encountering the analog-to-digital converter, the input signal is processed with an electronic low-pass filter to remove all frequencies above the Nyquist frequency (one-half the sampling rate). Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", 2nd ed. Retrieved from http://www.dspguide.com

DSP System (2) This is done to prevent aliasing during sampling, and is correspondingly called an antialias filter. On the other end, the digitized signal is passed through a digital-to-analog converter and another low-pass filter set to the Nyquist frequency. This output filter is called a reconstruction filter. Steven W. Smith, "The Scientist and Engineer's Guide to Digital Signal Processing", 2nd ed. Retrieved from http://www.dspguide.com

Human Hearing & Sampling Rate The commonly stated range of human hearing is 20 Hz to 20 khz. https://en.wikipedia.org/wiki/hearing_range An audio CD can represent frequencies up to 22.05 khz, the Nyquist frequency of the 44.1 khz sample rate. https://en.wikipedia.org/wiki/compact_disc_digital_audio https://en.wikipedia.org/wiki/44,100_hz

https://commons.wikimedia.org/wiki/file:perceived_human_hearing.png

Media: Audio PC AUDIO HARDWARE & SOFTWARE

AC 97 https://en.wikipedia.org/wiki/ac%2797 Audio codec standard developed by Intel in 1997. Up to 6 channels of audio 48/96 khz sample rate 16 or 20 bit surround sound

Intel High Definition Audio https://en.wikipedia.org/wiki/intel_high_definition_ Audio http://www.intel.com/content/www/us/en/chipsets /high-definition-audio.html Audio codec standard developed by Intel in 2004 to replace AC 97. 15 streams of 16 audio channels 8 to 32 bits 6 to 192 khz sample rates

Sound Cards Every sound card supports two speakers or a pair of headphones, but many better sound cards support five or more speakers in discrete channels. These multiple speakers provide surround sound and bass through a subwoofer. Better sound cards have a lower signal-to-noise ratio and support for multiple audio connections, such as a microphone, line in, and S/PDIF.

Sound Files The popular WAV file format (as well as most other recorded sound formats) is based on PCM (Pulse Code Modulation uncompressed audio.) WAV files can be huge, especially when sampled at high frequency and depth, so compression is a popular way to reduce the file size of recorded sounds. The most popular compressed file type is MP3. http://www.mp3-history.com/ A large number of other sound file formats are available, such as AAC and WMA.

Player Software To play sounds, you must have some form of player software, such as Windows Media Player. Not all players can play all types of sound files. Some file formats, such as RealMedia, require their own proprietary players. https://www.videolan.org/vlc/index.html

Links http://www.tomshardware.com/reviews/highend-pc-audio,3733.html What Does It Take To Turn The PC Into A Hi-Fi Audio Platform? http://www.dspguide.com/pdfbook.htm The Scientist and Engineer's Guide to Digital Signal Processing

Links http://www.pcadvisor.co.uk/howto/audio/3491386/how-get-better-quality-audiofrom-your-pc/ How to get better quality audio and music from your PC: everything you need to know about FLAC and DACs http://manual.audacityteam.org/man/digital_audio. html Digital Audio Fundamentals

Links https://en.wikipedia.org/wiki/audio_signal_processing https://en.wikipedia.org/wiki/digital_recording https://en.wikipedia.org/wiki/codec https://en.wikipedia.org/wiki/comparison_of_audio_coding_f ormats https://en.wikipedia.org/wiki/list_of_codecs https://en.wikipedia.org/wiki/comparison_of_container_for mats https://en.wikipedia.org/wiki/pulse-code_modulation https://en.wikipedia.org/wiki/mp3