Sound Conversion Chilin Shih University of Illinois — Urbana Champaign E-MELD Conference 2003 July 11 th -13th LSA Institute Michigan State University.

Slides:



Advertisements
Similar presentations
Analog Representations of Sound Magnified phonograph grooves, viewed from above: When viewed from the side, channel 1 goes up and down, and channel 2 goes.
Advertisements

A Phonetician ’ s Guide to Audio Formats Chilin Shih University of Illinois at Urbana Champaign LSA 2006January 5-8, 2006.
Digital Signal Processing
Sound can make multimedia presentations dynamic and interesting.
Part A Multimedia Production Rico Yu. Part A Multimedia Production Ch.1 Text Ch.2 Graphics Ch.3 Sound Ch.4 Animations Ch.5 Video.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
SWE 423: Multimedia Systems Chapter 3: Audio Technology (2)
Carnegie Mellon © Copyright 2000 Michael G. Christel and Alexander G. Hauptmann.
4-Integrating Peripherals in Embedded Systems (cont.)
Motivation Application driven -- VoD, Information on Demand (WWW), education, telemedicine, videoconference, videophone Storage capacity Large capacity.
1 Rev 01/01/2015.  The main difference between analog and digital /discrete is that analog data is continuous and digital data is discrete.  We need.
Chapter 2 Digital data Ola A. Younis. Elements of digital media Symbols : representation for something else. Example: a group of letters often serve as.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
Audio data Skills: Set sample size and rate in Audacity IT concepts: analog to digital conversion, digital to analog conversion, sample rate, sample size,
Chapter 2 Fundamentals of Data and Signals
Digital Audio, Image and Video Hao Jiang Computer Science Department Sept. 6, 2007.
1 Chapter 2 Fundamentals of Data and Signals Data Communications and Computer Networks: A Business User’s Approach.
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
Digital Audio Multimedia Systems (Module 1 Lesson 1)
MDIA 308 Digital technologies. Converting analog to digital ADC – analog to digital conversion An analog voltage is converted in binary code Binary =
Digital Data Patrice Koehl Computer Science UC Davis.
Basics of Signal Processing. frequency = 1/T  speed of sound × T, where T is a period sine wave period (frequency) amplitude phase.
DSP (digital signal processing) (DSP) deals with commonly signals such as speech, music, video, EKG or ECG (heart), and EEG (brain).
Introduction to Digital Audio
Representation of Data in Computer Systems
Signal ProcessingES & BM MUET1 Lecture 2. Signal ProcessingES & BM MUET2 This lecture Concept of Signal Processing Introduction to Signals Classification.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
LE 460 L Acoustics and Experimental Phonetics L-13
Digital Audio What do we mean by “digital”? How do we produce, process, and playback? Why is physics important? What are the limitations and possibilities?
Fall 2004EE 3563 Digital Systems Design Audio Basics  Analog to Digital Conversion  Sampling Rate  Quantization  Aliasing  Digital to Analog Conversion.
Random signals. Histogram of the random signal Continuous Time Sinusoidal signals.
Basics of Signal Processing. SIGNALSOURCE RECEIVER describe waves in terms of their significant features understand the way the waves originate effect.
Data Communications & Computer Networks, Second Edition1 Chapter 2 Fundamentals of Data and Signals.
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
DTC 354 Digital Storytelling Rebecca Goodrich. Wave made up of changes in air pressure by an object vibrating in a medium—water or air.
COMP Representing Sound in a ComputerSound Course book - pages
Lecture 5: Signal Processing II EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/20/13.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
Digital Media Dr. Jim Rowan ITEC Monday, August 27.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Acoustic Analysis of Speech Robert A. Prosek, Ph.D. CSD 301 Robert A. Prosek, Ph.D. CSD 301.
ISAT 300 Computer-Based Instrumentation (part 2) Sampling and A/D Converters 11/14/01.
Signal Digitization Analog vs Digital Signals An Analog Signal A Digital Signal What type of signal do we encounter in nature?
Overview of Multimedia A multimedia presentation might contain: –Text –Animation –Digital Sound Effects –Voices –Video Clips –Photographic Stills –Music.
Digital Sound Actual representation of sound Stored in form of thousands of individual numbers (called samples) Not device dependent Stored in bits.
MULTIMEDIA INPUT / OUTPUT TECHNOLOGIES
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2009.
Digital Signal Processing January 16, 2014 Analog and Digital In “reality”, sound is analog. variations in air pressure are continuous = it has an amplitude.
1 Rev 07/28/2015.  Describe: examples, definition,? 2.
Encoding How is information represented?. Way of looking at techniques Data Medium Digital Analog Digital Analog NRZ Manchester Differential Manchester.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 3 – Digital Audio Representation Klara Nahrstedt Spring 2014.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
Lecture 2 Analog to digital conversion & Basic discrete signals.
1 What is Multimedia? Multimedia can have a many definitions Multimedia means that computer information can be represented through media types: – Text.
Fundamentals of Audio Production. Chapter 3 1 Fundamentals of Audio Production Chapter Three: Digital Audio.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore
Data analysis and modeling: the tools of the trade
The Physics of Sound.
4.1 Different Audio Properties
Multimedia Systems and Applications
CS 4594 Data Communications
Bits and Pieces November 6, 2007.
Chapter 4: Representing sound
COMS 161 Introduction to Computing
Assist. Lecturer Safeen H. Rasool Collage of SCIENCE IT Dept.
Analog to Digital Encoding
Presentation transcript:

Sound Conversion Chilin Shih University of Illinois — Urbana Champaign E-MELD Conference 2003 July 11 th -13th LSA Institute Michigan State University

Digital Sound Files Sound signal in the real world is continuous (analog). Computers on today’s market cannot handle a continuous signal. Sound files in our computer have discrete values. The process of converting speech waves into computer-readable format is called digitization, or A/D conversion. Our computer converts the digital signal back to analog (D/A conversion) to play back a sound file for us.

Sound File Formats A digitized sound file may have different –Sampling rate (96K, 48K, 44.1K … 8K) –Sample size (8 bits, 16 bits, 24 bits, 32 bits) –Number of channels (mono, stereo, …) –Coding methods (linear, log, and many others compression methods), typically indicated by file name suffixes such as.au,.aiff,.wav … –Byte order (big endian, small endian)

Sampling Rate High sampling rate preserves sound quality. Low sampling rate saves space and time.

What Sampling Rate Should I Choose? Nyquist Rate Digitize speech file at minimally twice the frequency range that you are interested in. This is known as Nyquist rate, or the sampling theorem, proposed by Nyquist in 1928 and proven by Shannon in For example, if you plan to analyze spectrogram information at 8K Hz, you need to digitize speech at 16K Hz.

Sample Size Larger sample size can represent a bigger range of values (dynamic range). –8 bits can represent 256 values –16 bits can represent values Let’s see what happens if we use a sample size of 2 bits (quantization into 4 values) to code the previous example.

Sample Size Example We lose information when the sample size is too small, given the same sampling rate.

The Structure of a Digital Sound File Filename –Indicates coding methods.au.wav Header –Keeps information such as sampling rate, sampling size, etc. Data

Sampling Rate Demo Hz Hz Hz (watch out for [s]) 8000 Hz 5000 Hz

Sample Size Demo 11k 16 bits 11k 8 bits 8k 16 bits 8k 8bits (telephone rate)

SoX Examples Converting between coding methods. Sox rat.au rat.wav Converting sampling rate Sox rat.wav –r 8000 rat8k.wav Processing files in batch FOR %X IN (*.RAW) DO sox –r –w –s –t raw $X $X.wav