art 321 sound, audio, acoustics dr. j. parker. sound what we hear as sound is caused by rapid...

38
Art 321 Sound, Audio, Acoustics Dr. J. Parker

Upload: esther-haynes

Post on 11-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 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

Art 321

Sound, Audio, Acoustics

Dr. J. Parker

Page 2: 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

Sound

What we hear as sound is caused by rapid changes in air pressure!

It is thought of as a wave, but that can be confusing since we are immersed in the medium. A wave seems to be on the surface.

Page 3: 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

Sound is 3D

Sound sources is at the centre of a sphere.

Pressure changes (higher, lower, higher …) move outwards from the source.

Page 4: 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
Page 5: 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

Pressure and Amplitude

Loudness is a matter of how big the pressure change is.

If we let normal ambient air pressure be 0, then sound amplitude is +x to –x for some way to measure pressure. Air pumps at gas stations here use Pascals, but we can use whatever we like.

Page 6: 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

PHYSICS ALERT !!

1 Pascal = 1 Newton per square metreStandardized normal air pressure is:P0 = 2 X 10-5 N/m2 = 0.00002 N/m2 = 20μ Pa. Why do we care? Because a decibel, the

standard measure of sound level, is:

10 log10 where p is the rms pressure

of the sound.

Page 7: 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

Who cares?

All sound folks use decibels, or db. You get to know (feel) how loud things are after a while.

Threshold of Hearing (TOH) 0 dB

Rustling Leaves 10 dB

Busy Street Traffic 70 dB

Front Rows of Rock Concert 110 dB

Military Jet Takeoff 140 dB

Instant Perforation of Eardrum 160 dB

Page 8: 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

How loud is it?

The sound of leaves is 10 db.The sound of a pencil dropping is 20 db.

How much louder is that ?

10 times!Decibels are based on powers of 10.If one sound is 10x times more intense than

another sound, then it has a sound level which is 10*x more decibels than the less intense sound.

Page 9: 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

Frequency

If you stand in one place, the pressure waves will pass you. The number of peaks that pass per second is the frequency.

Measured in Hertz (Hz), formerly cycles per second.

60 Hz = low hum

440 Hz = ‘A’ on piano

4000 Hz = limit of telephone (voices)

Page 10: 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

Frequency

If we draw a curve that represents pressure VS distance we can see that sound does look like a wave.

Page 11: 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

Frequency

Since the speed of sound in air is a constant (pretty much) then the number of peaks that pass is a second is related to the distance between them is a fixed way.

Also, the horizontal axis could be distance just as easily as time.

Page 12: 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

Frequency

V = /f where v is speed of sound, f is frequency.

Page 13: 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

Amplitude

Page 14: 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

Frequency

Frequency is a precise way to specify pitch.A 440E above CSummed Oboe AOboe EPhantom B 3960

Page 15: 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

Frequency

Page 16: 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

Interesting sidebar

The speed of sound is different in different media (air and water). When a sound moves from one medium to another, part of the sound is transmitted, part is reflected back!

Page 17: 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

Sound can reflect

Page 18: 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

Multiple sounds

What we hear with multiple sounds is the sum of all of them.

Page 19: 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

Sound Systems/Tech

A sound system is a collection of electronic components designed to record and display sound. Details depend on applications:

Theatre: large output, many speakers

Studio: large input, many microphones

Page 20: 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

Microphone

Converts air pressure differences into electrical voltage.

Page 21: 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

Microphone

Page 22: 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

Speakers

For display of audio.

Page 23: 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

Amplifier

Changes volume (voltage/current/power) levels of a signal. Needed to get good sound levels from a speaker.

Page 24: 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

Mixer

Control volumes of multiple inputs into (multiple) outputs.

Page 25: 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

Complete Sound System

Page 26: 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

Recording

How can sound be recorded?

How can it be stored on a computer?

What tools do we use for this?

Where do the wires go?

Why am I doing this?

It is still sound if it is on a hard drive?

How much disk space do sounds need?

Page 27: 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

Recording

To record sound on a computer is very simple.

Recall that microphones change sound (pressure) into voltage (electricity).

A computer ‘sound card’ can change voltages into numbers (just as we do: 12 volts, for instance) which can be stored in a computer memory.

A sound is therefore a sequence of numbers that represents voltages (that represent pressure).

Page 28: 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

Digital Sound

How BIG the numbers can be dictate accuracy of voltage samples ->volume or amplitude.

8 Bits (binary digits) can store numbers between 0 and 255 (256 different frequencies)

16 bits has 32768 different frequencies.

Called depth or quantization.

Page 29: 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

Digital recording

How fast you play the samples back dictates frequency.

Obviously one plays them back as fast as they were recorded. However, more samples per second means higher frequencies can be recorded.

Page 30: 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

Sampling

Page 31: 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

Sampling

Page 32: 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

Quantization Distortion

Quantization is the process of selecting whole numbers to represent the voltage level of each sample. The A/D converter must select a whole number that is closest to the signal level at the instant it’s sampled. This produces small rounding errors that cause distortion.

Quantization distortion increases at lower levels because the signal is using a smaller portion of the available dynamic range, so any errors are a greater percentage of the signal.

Page 33: 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

Clipping

Page 34: 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

File Sizes

 Sampling Rate x Resolution x Number of Channels x Time in Seconds / 8 = File Size (in Bytes)

44100 x 16 x 2 x 60/8=10,584,000 /minute

Page 35: 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

Sizes

Bytes per minute, uncompressed.

Sampling Rate Resolution Number of Channels File Size

44,100 16 2 10,584,000 44,100 16 1 5,292,000

22.050 16 1 2,646,000

11.025 16 1 1,323,000 11.025 8 1 616,000

Page 36: 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

Recording sound – MAX OS X

http://audacity.sourceforge.net/download/

Page 37: 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

Recording Sound – Windows XP

Sound recorder

•To open Sound Recorder, click Start, point to All Programs, point to Accessories, point to Entertainment, and then click Sound Recorder. 

Audacity

Sound Forge

Page 38: 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

Sound Effects

http://www.pacdv.com/sounds/index.htmlhttp://freesoundfiles.tintagel.net/Audio/http://www.a1freesoundeffects.com/http://www.pachd.com/sounds.htmlhttp://www.soundhunter.com/http://simplythebest.net/sounds/WAV/

sound_effects_WAV/index.htmlhttp://www.acoustica.com/mp3-audio-mixer/sounds.htmhttp://ljudo.com/default.asp?lang=tEnglish&do=it