Basics of Digital Audio Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface.

Slides:



Advertisements
Similar presentations
Chp 13 Sound and Music.
Advertisements

1. Digitization of Sound What is Sound? Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded.
Review of Sound Waves Waves move and carry energy Waves travel in a medium Waves are created when a source of energy causes a medium to vibrate Waves spread.
The Nature of Sound. Objectives What is sound? What physical properties of a medium affect the speed at which sound travels through it?
Chapter 17 Mechanical Waves and Sound
WAVES.
Properties of Sound EQ: How does intensity, loudness, frequency and pitch affect sound waves?
By Aimee Chavez. Wave: a disturbance that transfers energy from place to place. The material through which a wave travels through is called a medium.
Sound and Hearing. Sound Waves Sound waves are mechanical and longitudinal waves What does this tell you about sound waves? Sound waves need a material.
IntroductionIntroduction For periodic waveforms, the duration of the waveform before it repeats is called the period of the waveformFor periodic waveforms,
Mechanical Waves and Sound
Chapter 17: Mechanical Waves and Sound
Chapter 17 & 18 Waves.
Waves and Sound. Mechanical Waves Waves are created by an energy source making a vibration that moves through a medium. Mechanical waves are disturbances.
DTC 354 Digital Storytelling Rebecca Goodrich. Wave made up of changes in air pressure by an object vibrating in a medium—water or air.
Chapter 6 Basics of Digital Audio
1.Sound must have a medium through which to travel. Through which medium – solid, liquid, or gas – does sound travel faster? 2.How are different musical.
What is Sound?.
Waves and Sound.
Go to section Interest Grabber Vibrations A wave is a vibration that carries energy from one place to another. But not all vibrations are waves. Hold a.
SOUND Sound is energy transferred by the compression & rarefaction of matter: sound waves are compressional waves Collisions between molecules transfer.
Waves 5/22/2012. Waves Waves travel and transfer energy in an oscillating fashion (they wiggle). The amplitude, y, of a wave describes its height from.
Sound Overview The Facts of Sound The Ear and Sound Sound Vocabulary Musical Instruments and Sound.
Sound Overview The Facts of Sound The Ear and Sound Sound Vocabulary Musical Instruments and Sound.
Waves. Examples –Water waves –Sound waves –Light waves –Radio waves –microwaves.
By Rhett Price. Speed of sound depends on density Correlation between speed and density Not as fast as light speed Also affected by pressure and temperature.
Waves Chapter 10. The Nature of Waves wave: repeating disturbance or movement that transfers energy through matter or space -examples: light, ocean, sound,
The Nature of Waves What is a wave? A wave is a repeating disturbance or movement that transfers energy through matter or space Waves transfer energy.
Sound Overview The Facts of Sound The Ear and Sound Sound Vocabulary Musical Instruments and Sound Doppler Effect.
Encoding and Simple Manipulation
EQ: How do different mediums affect the speed of sound?
Chapter 10 Section 1 The Nature of Waves
The distance from the middle of one compression to the middle of the next.
Sound Waves Sound A form of energy that causes molecules of a medium to vibrate back and forth in a series of compressions and rarefactions as a longitudinal.
Sound Questions.
Ms. Barlow’s 8th Grade Physical Science Class
IntroductionIntroduction For periodic waveforms, the duration of the waveform before it repeats is called the period of the waveformFor periodic waveforms,
Section 1 & 2: The Nature of Waves. Waves A wave is a repeating disturbance or movement that transfers energy through matter or space. A wave will only.
Behavior of Waves. S8P4. Students will explore the wave nature of sound and electromagnetic radiation. a. Identify the characteristics of electromagnetic.
Sound The Facts Sound … 1. is a form of energy produced & transmitted by vibrating matter. 2. travels in longitudinal waves. 3. travels more quickly.
Sound and LightSection 1 Properties of Sound 〉 What are the characteristics of sound waves? 〉 Sound waves are caused by vibrations and carry energy through.
Chapter 17 Mechanical Waves Mechanical Waves.
What is sound? Sound is a longitudinal wave which travels through the air through a series of compressions and rarefactions.
What are Waves? A wave is a disturbance that transfers energy from place to place. Energy – the ability to do work The material through which a wave travels.
PROPERTIES OF WAVES FREQUENCY & WAVE SPEED. REVIEW A wave is a disturbance that transfers energy from place to place. In science, energy is defined as.
Sound J.Sample Sound Sound is a form of energy produced and transmitted by vibrating matter. Sound must have a medium, (matter), to travel through.
Sound. Vocabulary Sound Wave Frequency Pitch Wavelength – The distance between two compressions or two rarefactions.
Sound.
Sound waves Sound is a form of energy produced and transmitted by vibrating matter Medium - The stuff (matter) through which waves move.
Sound.
Pearson Prentice Hall Physical Science: Concepts in Action
SOUND Energy in Waves.
Mechanical Waves and Sound
sound pitch wave amplitude frequency volume resonance wavelength
Pearson Prentice Hall Physical Science: Concepts in Action
WAVES.
Chapter 17: Mechanical Waves & Sound
Sound Sound is a longitudinal wave. The source of a sound wave is something vibrating (your vocal cords, some part of a musical instrument, mosquito’s.
Sound.
Waves and Sound.
Intro Question 1 A wave pulse is created by very sharply moving the free-end of a cord (or spring) to the side and back to its original position. How.
WAVE PROPERTIES waves transmit energy There are two types of waves
Jane Wahl Kim Vredenburg November, 2001
WHAT IS SOUND? A form of energy that travels through the air.
Sound.
Sound: The Science of Music
Mechanical Waves and Sound
WHAT IS SOUND? Sound is a form of energy.
Waves.
WAVES.
Presentation transcript:

Basics of Digital Audio

Outline  Introduction  Digitization of Sound  MIDI: Musical Instrument Digital Interface

Introduction  What is Sound?  Sound is a wave phenomenon like light, but is macroscopic and involves molecules of air being compressed and expanded under the action of some physical device.  Is a form of energy produced & transmitted by vibrating matter  Travels in waves  Travels more quickly through solids than liquids or gases

Introduction  For example, a speaker in an audio system vibrates back and forth and produces a longitudinal pressure wave that we perceive as sound.  Since sound is a pressure wave, it takes on continuous values, as opposed to digitized ones  Even though such pressure waves are longitudinal, they still have ordinary wave properties and behaviors, such as reflection (bouncing),refraction (change of angle when entering a medium with a different density) and diffraction (bending around an obstacle).  If we wish to use a digital version of sound waves we must form digitized representations of audio information.

Vibration  Back and forth movement of molecules of matter

Compression - Where molecules are being pressed together as the sound waves move through matter - For example, - a wave travels through the springs just like sound waves travel through the air - the places where the springs are close together are like compressions in the air.

Sound Waves - Alternating areas of high & low pressure in the air - ALL sound is carried through matter as sound waves - Sound waves move out in ALL directions from a vibrating object

Wavelength & Frequency - Wavelength is the distance between one part of a wave and the same part of the next wave - Frequency is the number of waves moving past a point in one second

Pitch  A measure of how high or low a sound is.  Pitch depends on the frequency of a sound wave  For example, - Low pitch - Low frequency - Longer wavelength - High pitch - High frequency - Shorter wavelength

Volume  Amount of sound energy reaching your ears  Depends on:  How far the vibrating object is moving as it goes back and forth  How far you are from the source of a sound Volume Control

Sound and Instruments - Instruments can be played at different pitches by changing lengths of different parts. - For example, - Another way to make different pitches is to change the thickness of the material that vibrates.

Digitization  Digitization means conversion to a stream of numbers, and preferably these numbers should be integers for efficiency.  Fig. 6.1 shows the 1-dimensional nature of sound: amplitude values depend on a 1D variable, time. (And note that images depend instead on a 2D set of variables, x and y).  Values change over time in amplitude: the pressure increases or decreases with time.

Digitization

 The graph in Fig. 6.1 has to be made digital in both time and amplitude. To digitize, the signal must be sampled in each dimension: in time, and in amplitude.  To represent waveforms on digital computers, we need to digitize or sample the waveform side effects of digitization: introduces some noise

Digitization

Sampling Rate  The sampling rate (SR) is the rate at which amplitude values are digitized from the original waveform.(sample per cycle)  CD sampling rate (high-quality): SR = 44,100 samples/second  medium-quality sampling rate: SR = 22,050 samples/second  phone sampling rate (low-quality): SR = 8,192 samples/second  For audio, typical sampling rates are from 8 kHz (8,000 samples per second) to 48 kHz. This range is determined by the Nyquist theorem, discussed later.

Sampling Rate  The human ear can hear from about 20 Hz (a very deep rumble) to as much as 20 KHz; above this level, we enter the range of ultrasound.  The human voice can reach approximately 4 KHz and we need to bound our sampling rate from at least double this frequency. Thus we arrive at the useful range about 8 to 40 or so KHz.

Sampling Rate  Higher sampling rates allow the waveform to be more accurately represented

Nyquist Theorem and Aliasing  Nyquist Theorem: We can digitally represent only frequencies up to half the sampling rate.  Example: CD: SR=44,100 Hz Nyquist Frequency = SR/2 = 22,050 Hz  Example: SR=22,050 Hz Nyquist Frequency = SR/2 = 11,025 Hz

Nyquist Theorem and Aliasing  Frequencies above Nyquist frequency "fold over" to sound like lower frequencies.  This foldover is called aliasing.  Aliased frequency f in range [SR/2, SR] becomes f': f' = |f - SR|

Nyquist Theorem and Aliasing f' = |f - SR|  Example:  SR = 20,000 Hz  Nyquist Frequency = 10,000 Hz  f = 12,000 Hz --> f' = 8,000 Hz  f = 18,000 Hz --> f' = 2,000 Hz  f = 20,000 Hz --> f' = 0 Hz

Nyquist Theorem and Aliasing  Graphical Example 1a:  SR = 20,000 Hz  Nyquist Frequency = 10,000 Hz  f = 2,500 Hz (no aliasing)

Nyquist Theorem and Aliasing  Graphical Example 1b:  SR = 20,000 Hz  Nyquist Frequency = 10,000 Hz  f = 5,000 Hz (no aliasing)

Nyquist Theorem and Aliasing  Graphical Example 2:  SR = 20,000 Hz  Nyquist Frequency = 10,000 Hz  f = 10,000 Hz (no aliasing)

Nyquist Theorem and Aliasing  Graphical Example 2:  BUT, if sample points fall on zero-crossings the sound is completely cancelled out

Nyquist Theorem and Aliasing  Graphical Example 3:  SR = 20,000 Hz  Nyquist Frequency = 10,000 Hz  f = 12,500 Hz, f' = 7,500