Sound and Digital Sound v13.1.8 © Allan C. Milne Abertay University.

Slides:



Advertisements
Similar presentations
Learning Introductory Signal Processing Using Multimedia 1 Outline Overview of Information and Communications Some signal processing concepts Tools available.
Advertisements

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.
Introduction to Digital Audio
Sound in multimedia How many of you like the use of audio in The Universal Machine? What about The Universal Computer? Why or why not? Does your preference.
Sound can make multimedia presentations dynamic and interesting.
GCSE Computing#BristolMet Session Objectives#10 MUST define the term sample rate COULD explain how sound can be sampled and stored in digital form SHOULD.
Chapter 4: Representation of data in computer systems: Sound OCR Computing for GCSE © Hodder Education 2011.
Basic Computer 101 and Basic Digital Audio basic is a relative term.
Speech Compression. Introduction Use of multimedia in personal computers Requirement of more disk space Also telephone system requires compression Topics.
The Illinois Society of Electroneurodiagnostic Technologists (ISET) Fall Meeting: Electronics Crash Course for Technologists Saturday, November 9, 2013.
4-Integrating Peripherals in Embedded Systems (cont.)
From the air to the iPod. Minute disturbances in the air, caused by a vibrating object Air molecules bunch together, then spread out Changes in density.
Analogue to Digital Conversion
Introduction to Data Conversion
Image and Sound Editing Raed S. Rasheed Sound What is sound? How is sound recorded? How is sound recorded digitally ? How does audio get digitized.
CEN352, Dr. Ghulam Muhammad King Saud University
Digital Audio Basics “Any signal can be completely reconstructed from samples.” - Harry Nyquist.
1 Digitisation Conversion of a continuous electrical signal to a digitally sampled signal Analog-to-Digital Converter (ADC) Sampling rate/frequency, e.g.
Fundamentals of Digital Audio. The Central Problem n Waves in nature, including sound waves, are continuous: Between any two points on the curve, no matter.
 Principles of Digital Audio. Analog Audio  3 Characteristics of analog audio signals: 1. Continuous signal – single repetitive waveform 2. Infinite.
3rd practice Medical Informatics Biomedical Signal Processing TAMUS, Zoltán Ádám
Computer Science 101 Introduction to Programming with Sounds.
Introduction to Sound Sounds are vibrations that travel though the air or some other medium A sound wave is an audible vibration that travels through.
Digital to Analogue Conversion Natural signals tend to be analogue Need to convert to digital.
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
School of Informatics CG087 Time-based Multimedia Assets Sampling & SequencingDr Paul Vickers1 Sampling & Sequencing Combining MIDI and audio.
Key terms Sampling rate – how often we read the value of the signal Resolution – the separation between “levels” for our samples (can we read the value.
Lab #8 Follow-Up: Sounds and Signals* * Figures from Kaplan, D. (2003) Introduction to Scientific Computation and Programming CLI Engineering.
Radio production worktext.  Analog to Digital  Analog signal – continuously variable electrical signal whose shape is determined by the shape of the.
Lecture # 22 Audition, Audacity & Sound Editing Sound Representation.
Chapter 6 Basics of Digital Audio
COMP Representing Sound in a ComputerSound Course book - pages
Art 321 Sound, Audio, Acoustics Dr. J. Parker. Sound What we hear as sound is caused by rapid changes in air pressure! It is thought of as a wave, but.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Announcements Chapter 11 for today No quiz this week Instructor got behind…. We'll be back in MGH389 on Friday.
Basics of Digital Audio Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface.
Games Development Practices Sound Effects & OpenAL CO2301 Games Development 1 Week 15.
More Meaningful Jargon Or, All You Need to Know to Speak Like a Geek Sound.
Sega 500 Audio in UT2003 Jeff “Ezeikeil” Giles
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
Analogue & Digital. Analogue Sound Storage Devices.
1 Manipulating Audio. 2 Why Digital Audio  Analogue electronics are always prone to noise time amplitude.
Digital Audio. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
DATA REPRESENTATION: SOUNDS GCSE Computing. Learning Objective ■ To understand how sounds are represented in Binary ■ To be able to convert a sound wave.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Lifecycle from Sound to Digital to Sound. Characteristics of Sound Amplitude Wavelength (w) Frequency ( ) Timbre Hearing: [20Hz – 20KHz] Speech: [200Hz.
Image and Sound Representation
Image and Sound Representation
The Physics of Sound.
Lesson Objectives Explain how sound can be sampled and stored in digital form Explain how sampling intervals and other considerations affect the size of.
Multimedia Systems and Applications
Analogue & Digital.
Introduction to Digital Audio
Transverse/Longitudinal waves
Data Representation Keywords Sound
Introduction to Digital Audio
Introduction to Digital Audio
Introduction to Digital Audio
Representing Sound 2.6 – Data Representation.
Games Development Practices Sound Effects
Properties of Sound Chapter 16 Section 2.
CEN352, Dr. Ghulam Muhammad King Saud University
Introduction to Digital Audio
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
WJEC GCSE Computer Science
Presentation transcript:

Sound and Digital Sound v © Allan C. Milne Abertay University

Agenda Visualising Sound Human Perception Digital Sound Sampling Issues Notes available in WhatIsSound.doc WhatIsDigitalSound.doc

Sound is A form of energy which propagates through a host medium in the form of longitudinal waves –form of energy –propagates through a medium –longitudinal waves

Visualising Sound Longitudinal waves are difficult to draw and hence to visualise. Visualise as a transverse wave plotting density against time at a fixed point in the medium.

Human Perceptions Loudness is the human perception of amplitude –Measured in decibels (dB): a logarithmic scale –Note 0dB is not absolute silence but rather a reference point –Loudness perception depends on frequency Pitch is the human perception of frequency –We perceive from about 20Hz to 20,000Hz (20kHz) –Pitch is closely related to frequency but not synonymous, other factors intrude

Digital Sound Sound is an analogue property We must have a digital representation for use within a computer –Saving –Processing –Recording –Playback The conversion process from analogue sound to digital representation is known as sampling

Sampling Overview Microphone picks up sound waves and outputs an analogue electrical signal The analogue signal is sampled at fixed clock intervals (usually many kHz) At each clock tick the analogue signal’s amplitude is measured The measurement amplitude is output as a binary integer

Some Terminology Analogue to digital converter (ADC): the device that samples the analogue signal & outputs the stream of binary integers Sampling frequency: the rate at which the clock ticks to sample the signal Resolution or bit depth: the number of bits used for one binary sample Example: a 16-bit samples at 11kHz

General Audio Pipeline. Original sound  microphone  ADC  wav file  pre-production  audio program code  soundcard  DAC  amp  speakers  sound

Aliasing High frequency sounds are transformed to low-frequencies if too small a sampling rate is used If the sound frequency is greater than ½ the sampling rate then new freq = sample freq – original freq Thus to recreate the original sound the sampling frequency must be at least twice the source sound frequency

Quantisation & Distortion Quantisation noise: sampling may not recreate the exact level of the original signal due to the limited resolution (bit- depth) used Digital distortion: more unpleasant than analogue distortion since it overflows / underflows the binary sample values

Digital Playback Samples are streams of binary values Converted by a digital to analogue converter (DAC) to an analogue signal The signal then passes through a low- pass smoothing filter to remove quantisation noise The signal can now be presented to an amplifier & loudspeakers

Development Domains. Audio design. –Pre-production. Game programming. –Framework & engine programming.

Tools & Environments. Sound composers. –Sound editors. XACT. –XAudio2 –OpenAl –DirectSound. »Core APIs.