Audio Concepts in Plain English: 3D and I3DL2 Scott Selfon Xbox Advanced Technology Group.

Slides:



Advertisements
Similar presentations
4/1/2017 4:16 PM.
Advertisements

Basic Acoustics Inverse square law Reinforcement/cancellation
Sound Chapter 16.
Effects. Dynamic Range Processors Fixed Time Delay Effects Variable Time Delay Effects Reverberation Effects Time and Pitch Changing Effects Distortion.
Sound waves.
Sound waves Pg. 45 in NB.
Auditorium Acoustics Chapter 23. Sound Propagation Free field sound pressure proportional to 1/r SPL drops 6 dB with every doubling of distance. Indoors.
Interference and beats. Objectives Investigate and analyze characteristics of waves, including frequency and amplitude. Investigate and analyze behaviors.
3-D Sound and Spatial Audio MUS_TECH 348. Environmental Acoustics and Computational Simulation.
Reflections Diffraction Diffusion Sound Observations Report AUD202 Audio and Acoustics Theory.
Echo Generation and Simulated Reverberation R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
AMPLITUDE, WAVELENGTH, FREQUENCY AND PITCH. REVISION.
What is a sound wave? Mechanical wave – longitudinal *A vibration *Particles of medium are disturbed *Causes a wave causes Most common medium is air Can.
Sound waves.
Implementing 3D Digital Sound In “Virtual Table Tennis” By Alexander Stevenson.
1 Manipulating Digital Audio. 2 Digital Manipulation  Extremely powerful manipulation techniques  Cut and paste  Filtering  Frequency domain manipulation.
Game Audio Mark Peskir November 14, 2005 ITCS 5010.
Real-time wave acoustics for games Nikunj Raghuvanshi Microsoft Research.
Precomputed Wave Simulation for Real-Time Sound Propagation of Dynamic Sources in Complex Scenes Nikunj Raghuvanshi †‡, John Snyder †, Ravish Mehra ‡,
U.S. Army Research, Development and Engineering Command Braxton B. Boren, Mark Ericson Nov. 1, 2011 Motion Simulation in the Environment for Auditory Research.
Mechanical Waves and Sound Ch. 17 Physical Science.
ESSENTIAL QUESTION - WHAT ARE SOUND WAVES AND LIGHT WAVES AND HOW DO THEY CARRY ENERGY DIFFERENTLY ? Waves pt 2 Sound vs Light Chapter 17 Chapter 19.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Vocabulary Sound.
EE Audio Signals and Systems Effects Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
C-15 Sound Physics Properties of Sound If you could see atoms, the difference between high and low pressure is not as great. The image below is.
Acoustics/Psychoacoustics Huber Ch. 2 Sound and Hearing.
Review Exam III. Chapter 10 Sinusoidally Driven Oscillations.
15.1 Properties of Sound  If you could see atoms, the difference between high and low pressure is not as great.  The image below is exaggerated to show.
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.
Mechanical Waves and Sound
Sound Quality.
Games Development Practices Sound Effects & OpenAL CO2301 Games Development 1 Week 15.
Inspire School of Arts and Science Jim White. What is Reverb? Reverb or ‘reverberation’ is not simply just an effect which makes vocals sound nice! It.
Fundamentals of Audio Production. Chapter 1 1 Fundamentals of Audio Production Chapter One: The Nature of Sound.
 Space… the sonic frontier. Perception of Direction  Spatial/Binaural Localization  Capability of the two ears to localize a sound source within an.
Room Acoustics Bouncing Around October 27, Music and Other Sounds Come from a source. The source is not isolated, it is in an environment. The environment.
Sound. Sound Waves Sound is a disturbance that travels through a medium as a longitudinal wave.
Audio Systems Survey of Methods for Modelling Sound Propagation in Interactive Virtual Environments Ben Tagger Andriana Machaira.
Sound 13-1 A “physical phenomenon that stimulates the sense of hearing.”
EE Audio Signals and Systems Room Acoustics Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Immersive Displays The other senses…. 1962… Classic Human Sensory Systems Sight (Visual) Hearing (Aural) Touch (Tactile) Smell (Olfactory) Taste (Gustatory)
SOUND SECONDARY 3 PHYSICS. NATURE AND PRODUCTION OF SOUND Sound is….. A form of energy an example of longitudinal wave Produced by vibrating sources placed.
STUDY GUIDE Wave Properties, Interactions, and Sound Waves
Hearing Detection Loudness Localization Scene Analysis Music Speech.
Time Based Processors. Reverb source:
Chapter 12 Preview Objectives The Production of Sound Waves
1 Sound Chapter The Nature of Sound Remember: -every sound is produced by an object that vibrates. -sound waves are compressional waves, which are.
Sound waves Pg. 65 Sound waves Pg. 65. Objectives Investigate and analyze characteristics of sound waves: frequency, wavelength, and amplitude. Examine.
Sound and Hearing Chapter 17.4 Properties of Sound Waves Sound waves are longitudinal waves. Many behaviors of sound can be explained using a few properties-
Waves & Sound Ch 10 6 th grade. What forms mechanical waves? A wave is a disturbance involving the transfer of energy from place to place. Waves that.
Wave interactions pg. 61. Objectives Examine and describe wave propagation. Investigate behaviors of waves: reflection, refraction, and diffraction. Describe.
Interference and beats Pg. 47. Objectives Investigate and analyze characteristics of waves, including frequency and amplitude. Investigate and analyze.
Objective Sound and Psychoacoustics. Viers on Location Sound Gathering production sound Nat, b-roll, interview, dialog “Technique will trump technology”
3-D Sound and Spatial Audio MUS_TECH 348. What do these terms mean? Both terms are very general. “3-D sound” usually implies the perception of point sources.
Lesson 2 What is Sound Energy?.
A pressure variation that is transmitted through matter
Pearson Prentice Hall Physical Science: Concepts in Action
Mechanical Waves and Sound
Pearson Prentice Hall Physical Science: Concepts in Action
Interference and beats
Sound COS: #18 Use Models to determine how light and sound waves differ in how they are absorbed, reflected, and transmitted through different media.
Mechanical Waves and Sound
Essential Question: How are sound waves affected by medium?
C-15 Sound Physics 1.
The Nature of Sound Chapter 21
Sound Waves What's Happening? Wave Basics Wave Behaviors Sound Changes
Sound Review 2017 Answers.
Games Development Practices Sound Effects
Game Programming Algorithms and Techniques
WHAT IS SOUND? Sound is a form of energy.
Presentation transcript:

Audio Concepts in Plain English: 3D and I3DL2 Scott Selfon Xbox Advanced Technology Group

Overview What’s so great about “3D”? Simulating aspects of 3D sound Audio engine implementations I3DL2 Advanced 3D Challenges for Games Q & A

Why bother with “3D” audio? Screen = degree visual ‘window’ –What’s happening in the other degrees? Sound informs player of distances, obstacles, environment Competing with TV & movie ‘experience’

Typical 3D Sound Presentation Priorities Location Distance Speed Geometry –Sound emitter orientation –World obstacles

Locating a Sound in 3D Space Speaker panning –Cheap, can be effective –Doesn’t cover surround for 2-speaker scenarios HRTF – Head Related Transfer Function –Simulates 3D spatialization based on shapes of ‘generic’ head and ears –Filtering (shape of ears, sound waves not directly reaching ears) –Delays (sound reaches one ear slightly before the other

Distance in the Real World Sounds attenuate (get quieter) with distance –Approximately half as loud (-6 dB) for every doubling of distance Sounds “muffled” with distance –Air is a low-pass filter Sound travels slowly vs. light –~340 m/sec (vs. 300,000 km/sec for light) All values vary with humidity, altitude, temperature, etc. Dist.Vol. 10 dB 2-6 dB 4-12 dB 8-18 dB dB dB dB dB

Distance Simulation: Volume Typical distance model (DSound, OpenAL): –Minimum distance (where to start attenuating) –Maximum distance (where to stop attenuating) –Rolloff (how quickly to attenuate with distance) Others simplify to: –Minimum distance (where to start attenuating) –Distance to silence (where sound is silent; rolloff implied from here – linear or log)

Distance Attenuation Example

Distance and Rolloff Rolloff factor – adjust attenuation curve relative to “Real World” –.5: Less rolloff (sound louder at given distance) –2.0: More rolloff (sound quieter at given distance) Rolloff also influenced by minimum distance –Remember, half volume at doubled distance

Rolloff Factor and Attenuation

Minimum Distance and Attenuation

Rolloff Confusion Maximum distance isn’t silence –Sound not further attenuated –Might abruptly stop voice (PC) Distance factor unrelated to rolloff –Sets units (meters [1.0], feet [0.3048], etc.) –Used for doppler shifting

Rolloff Model Challenges Unintuitive calculations to determine distance to silence –spreadsheet to help Hard for sound designer to experiment without game-exposed controls Simplification options –Replace max dist/rolloff with “distance to silence” –Arbitrary rolloff curves

Simplifying Rolloff Distance to silence –Trivial to calculate Arbitrary user- defined point curves Custom curvature control

Simulating Other Distance Cues Filtering with distance –EAX supports –Programmable LPFs in other engines can be used for this Delay with distance (speed of sound) –Rarely simulated by engines Can programmatically delay sound triggers Perceived in games as ‘lag’?

Speed Perception in the Real World Doppler Effect –Sound/listener moving closer pitched up –Sound/listener moving apart pitched down

Doppler Effect Simulation Programmer updates listener/source velocities –DSound: Relative velocity used –OpenAL: Separate velocities used Distance factor –Units do matter here (m/sec) Doppler factor –Exaggerate (>1.0) or lessen (<1.0) effect

Sound Geometry in the Real World Few sounds are truly omnidirectional –Most volume projected in one direction Few sounds are truly “point” sources Sounds interact with the environment –Environment interaction (“reverb”) –Filtered by obstacles

Sound Geometry Simulation Directional sound emitters –Inside/outside sound cone angles –Outer volume attenuation –3D spatial orientation for emitter Non-point emitter solutions –Simulate with multiple points –Simulate with relative positioning –Pre-rendered multichannel –More sophisticated engines

Environmental Simulation Simulation of sound propagation paths –Direct-path = signal reaches listener directly from emitter –Reflected paths = ‘echoes’ off walls, obstacles, etc. Some delay versus direct-path

Basic Reverb Simulation Direct-path: sound presented “intact” –Distance attenuation –Low pass filtering based on obstacles/distance Reflected path: delays and filtering –Often less noticeable distance attenuation –Early reflections = discrete echoes –Late reflections = ‘reverberation’ (more dense, complex, decaying echoes)

Obstacle Simulation: Obstruction Objects may ‘block’ the sound’s path to the listener –Direct-path diffracted by or transmitted through obstacle –Reflected path generally not affected

Obstacle Simulation: Occlusion Sound is being played in another environment –Direct, reflected paths both filtered

An Introduction to I3DL2 Designed by Interactive Audio Special Interest Group (IASIG – –“Interactive 3D Audio Rendering Guidelines, Level 2” Provides standard for simulating: –3D positioning (attenuation, doppler) –Environmental reverberation –Occlusion/obstruction materials

I3DL2 Concepts Listener = describes environment –Timings for early/late reflections (“Room”) –Differences between high and low frequency behavior Source = per-emitter settings –Occlusion/obstruction –Exaggerate/reduce environment’s effect on this emitter

I3DL2 Environmental Reverb (“Listener”) Decay time = time for reverb to fade to -60 dB

I3DL2 Reverb Settings 30 pre-defined high level presets… –Generic environments (cave, bathroom, etc.) –‘music’ reverbs …or 12 low-level properties –Adjust timings: Reflections_delay, Reverb_delay, Decay_time –Set volumes: Room, Reflections, Reverb, Room_rolloff_factor –Adjust behavior of high vs. low frequencies: HF_reference, Room_HF, Decay_HF_ratio –Reverb timbre: Diffusion (“graininess”), Density (“hollowness”)

I3DL2 Sound Emitters (“Source”) Volume adjustment –Direct-path level: Direct, Direct_HF –Room (reverb) rolloff factor and level: Room_rolloff_factor, Room, Room_HF Occlusion/obstruction control –8 presets supplied (doors, walls, etc.) –Volume attenuation: Obstruction, Obstruction_LF_ratio, Occlusion, Occlusion_LF_ratio

I3DL2 Reverb and Occlusion/Obstruction Demos

I3DL2 Limitations Reverberation flexibility restrictions –I3DL2 doesn’t handle multiple simultaneous environments (listener only) –Can be expensive (CPU, memory) –“Morphable” reverb settings are hard No sense of game geometry –Game must test for and set occlusion/obstruction –Early reverb reflections are static, non-directional –Reverb transitions

Advanced 3D Challenges Multiple players, one set of speakers –Present sound relative to closest listener –Reproduce sound for all listeners Doppler issues Overlayed soundscapes Speaker biasing? (P1=left, P2=right) Audio for complex geometry –Rivers –Non-cubical environments

Advanced 3D Challenges 3D integration with multichannel audio –4- vs. 5- channel 3D? –Morphing 4.0/5.1 sounds to point sources? Multiple 3D sources presenting same audio (PA system?) –Sync and Doppler challenges More sophisticated sound propagation simulation –Complex, distant environments (pathfinding?) –AI response to sound propogation (enemies can hear you)

Q & A Resources –OpenAL: –DirectSound: –I3DL2, IA-SIG: – Audio physics resources – astr.gsu.edu/hbase/sound/soucon.htmlhttp://hyperphysics.phy- astr.gsu.edu/hbase/sound/soucon.html – htmlhttp:// html Questions, comments?