History of Audio in Unity

Similar documents
Introduction into Game Programming (CSC329)

Chapter 5.5 Audio Programming

Completing the Multimedia Architecture

Understand digital audio production methods, software, and hardware.

Optimizing Audio for Mobile Development. Ben Houge Berklee College of Music Music Technology Innovation Valencia, Spain

Export Audio Mixdown

Unity s audio system under the hood. Jan Marguc Audio programmer

Android Native Audio Music

This plugin is deprecated/discontinued, do not buy anymore!

Level Editor. Should be stable (as of Sunday) Will be updating the source code if you want to make tweaks to it for your final

User Manual. Contact the team: Contact support:

HTML 5 and CSS 3, Illustrated Complete. Unit K: Incorporating Video and Audio

Streaming Media. Advanced Audio. Erik Noreke Standardization Consultant Chair, OpenSL ES. Copyright Khronos Group, Page 1

Game Design From Concepts To Implementation

VLSI Solution. VS10XX - Plugins. Plugins, Applications. Plugins. Description. Applications. Patches. In Development. Public Document.

the gamedesigninitiative at cornell university Lecture 15 Game Audio

ANIMATOR TIMELINE EDITOR FOR UNITY

Page 1 of 4. Sound Editing Course Outline Duration: 5 Days

JACK4U Manual. vers. 1.1

WaveLab 8 WaveLab Elements 8

AN ENTITY-COMPONENT SYSTEM IN C++ AND QT - JAMES TURNER QT3D S ECS

Mobile Touch Floating Joysticks with Options version 1.1 (Unity Asset Store) by Kevin Blake

WORLD FIRST. In our first ever Flash MX 2004 tutorial, we take a look at the new ease-of-use features that can turn anyone into a Flash guru.

Sonarworks Reference 4 Headphone Edition User Manual VERSION 1 (SEPTEMBER 2017)

03 Range of Products. 04 XSplit Gamecaster Features. 05 XSplit Gamecaster vs Competition. 16 XSplit Gamecaster Sales Pitch

twisted wave twisted wave [an introduction]

About sounds and Animate CC

Selection tool - for selecting the range of audio you want to edit or listen to.

8iUnityPlugin Documentation

PERFORMANCE. Rene Damm Kim Steen Riber COPYRIGHT UNITY TECHNOLOGIES

INTERNATIONAL ORGANISATION FOR STANDARDISATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO/IEC JTC1/SC29/WG11 CODING OF MOVING PICTURES AND AUDIO

How Libre can you go?

8iUnityPlugin Documentation

Adobe Sound Booth Tutorial

5: Music Compression. Music Coding. Mark Handley

AVID - How to Make a 1920 x Surround Sound QuickTime Using Your Surround Sound Mix

Operation Manual. MasterCheck. Operation Manual NUGEN Audio

Squeeze Play: The State of Ady0 Cmprshn. Scott Selfon Senior Development Lead Xbox Advanced Technology Group Microsoft

MediaKind Encoding On-Demand

Digital Audio. Amplitude Analogue signal

THE LAUNCHER. Patcher, updater, launcher for Unity. Documentation file. - assetstore.unity.com/publishers/19358

Release notes for version 3.1

User guide addendum V2 for Ui24R (firmware 1.8xxx)

Euphonia. Manual. by tb-software (C) tb-software 2014 Page 1 of 6

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

INTRODUCTION TO SAMPLING 1

Mul$media Support in Android

Welcome to the SAC Experience

Bonus Chapter 10: Working with External Resource Files and Devices

Echo Digital Audio Corporation AudioFire 2 AudioFire 4 AudioFire 8 AudioFire 12 Release for Mac OS X

03 Range of Products. 04 XSplit Gamecaster Features. 05 XSplit Gamecaster vs Competition. 12 XSplit Gamecaster Sales Pitch

OculusUnityMatlab Documentation

#596*Free Download: 'Audio Editor - 3 PC / Liftetime free update' by GilISoft Internatioinal LLC. Coupon Code

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

Accusonus Inc. Lexington, Massachusetts USA

THE STA013 AND STA015 MP3 DECODERS

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil

MULTIFORMAT PLAYOUT: The WinjayVX multiformat, PERFECT TRANSACTIONS: The mysql database. CUSTOMIZABLE INTERFACE: Stylish, skin-based

About MPEG Compression. More About Long-GOP Video

Blackfin Online Learning & Development

Making presentations web ready

Developing the Roadmap - Director Next Survey

Amazing Audacity: Session 1

Virtualdub Video Compression Error Code 2

Runtime Asset Management

Introduction to Premiere Pro CC

Mul$media Techniques in Android. Some of the informa$on in this sec$on is adapted from WiseAndroid.com

Using Sweep: Fun with Scrubby

Unity Software (Shanghai) Co. Ltd.

WaveLab 8 WaveLab Elements 8

1. Selection Tool allows selection of specific portions of the waveform on the timeline

Interplay Production Works For Everyone

IDM 221. Web Design I. IDM 221: Web Authoring I 1

Live 7 Audio Fact Sheet

Editing and Effects in DaVinci Resolve 12.5

Section 28: 2D Gaming: Continuing with Unity 2D

USER EXPERIENCE GUIDE

Embedding Audio into your RX Application

Visual Novel Engine for Unity By Michael Long (Foolish Mortals),

AUDIOMODERN SYNC 3 BASIC MANUAL

MPC Essentials Release Notes

Using Hybrid Reverb 2 in a VTPO. Overview

AUDIOVISUAL COMMUNICATION

INSTRUCTION MANUAL L-3866USB

VS1063 ENCODER DEMONSTRATION

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

Unity Game Development

For Mac and iphone. James McCartney Core Audio Engineer. Eric Allamanche Core Audio Engineer

Multimedia Technology

The GStreamer Multimedia Architecture. What is GStreamer. What is GStreamer. Why create GStreamer

MEDIA RELEASE FOR IMMEDIATE RELEASE Singapore, 6 January 2010 Total: 8 pages (including Notes to the Editor)

Frequently Asked Questions

Using Metadata with the FS-5 and Final Cut Pro Matt McEwen

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Unity

Sources:

TouchMix. Self-Guided Tour WELCOME TO TOUCHMIX! CHAPTER. 1. Navigation. 2. Simple & Advanced Mode. 3. Presets. 4. Scenes 5. FX. 6. Wizards. 7.

DL806. Digital Live Sound Mixer with ipad Control

Core Audio. MSDOSX : Lecture 20

Audio for Everybody. OCPUG/PATACS 21 January Tom Gutnick. Copyright by Tom Gutnick. All rights reserved.

Transcription:

Audio Showcase

About Me (Wayne) Core / Audio team at Unity Work in the Copenhagen office Originally worked for FMOD (Audio Engine) Work on Audio and other new tech in Unity Interested in most phases of data processing

History of Audio in Unity Limited development of in-editor Audio features. Aspects of the Audio system are powerful, yet obscure. Most audio features require scripting. Advanced audio solutions required in house development or use Asset Store solutions. Some functionality impossible, such as audio sub-mixing. AudioSources always mixed together at the AudioListener

A new direction Renewed push of Audio in Unity. Re-write of underlying audio asset pipeline. Re-write of audio channel framework, with big optimizations. A push for more UI centric tools that empower Sound Designers. Address gaps in audio functionality within Unity.

The 5.0 Release Audio System re-write The Audio Mixer

The Asset Pipeline Re-Write Audio Import as a separate process Unity forks a specially developed tool to import the asset. Reduces memory footprint of Unity. Arbitrary sized audio clips can be imported. Eliminates the chances of corrupted audio files crashing Unity on import. Unity loads and processes sanitized data only. Optimized codec support Removed MP3 compression target (mobile) New optimized Vorbis Tremor decoder. Additional ADPCM compression option.

The Asset Pipeline Re-Write PCM No compression No decode costs Suitable for short sounds (footsteps or gunshots) ADPCM Constant compression ratio (3.5:1) Cheap decode costs Not suitable for all types of sounds. (Noisy, low frequency sounds are best)

The Asset Pipeline Re-Write Compressed (Vorbis) Maximum compression ratio Heaviest decode costs Suitable to most sound types Benefits of new compression type More performant than MP3 / straight OGG Vorbis etc Low memory footprint No looping artifacts (loops seamlessly)

Example Sweep tone

OGG Vorbis File (OGG Size 74166) Vorbis Compression (FSB Size 75392) MP3 Compression (FSB Size 112672) Compression Stats Sound Memory Stream Compressed in Memory Decompress Stream Compressed in Memory Decompress Stream Compressed in Memory Decompress 0 100000 200000 300000 400000 500000 600000 OGG Vorbis File (OGG Size 74166) Vorbis Compression (FSB Size 75392) MP3 Compression (FSB Size 112672) Compressed in Compressed in Compressed in Decompress Stream Decompress Stream Decompress Stream Memory Memory Memory Sound Memory 494577 494577 237166 309328 75820 556 309328 113156 556

AudioClip Improvements New Load Type: DynamicLoading Audio data loading is delayed, not loaded when the scene loads Data can be loaded in any way (Load into memory, stream, etc) AudioClips become lightweight structures and loading strategies can be employed by developers Loading can be blocking or non-blocking

AudioClip Improvements Better channel management Playback resources are now freed immediately on completion of a sound. Improved streaming support Including proper streaming from AssetBundles Correct streaming inside editor, replicates behaviour of built game Better handling of large audio files AudioClip information can be queried without data loaded Improved audio profiling information Multi-edit AudioClip assets!!!

Audio Mixer

What is an Audio Mixer An Audio Mixer allows complex mixing, routing and mastering of your entire games soundscape Add DSP effects anywhere in the audio signal Group categories of sounds and apply DSP, attenuation and other effects in the editor Master the games mix during Playmode A new asset type you can create in Unity Extensive editor authoring tools (modeled on existing DAW tools) Create and chain together multiple Audio Mixers Example!

Audio Mixer Features: Routing Create complex routing hierarchies to categorize sounds and apply effects and volume adjustments as one. The group hierarchy is mixed together until it hits the Master Group. The Master Group is then routed into the AudioListener or another AudioGroup of another AudioMixer

Audio Mixer Features: Routing

Audio Mixer Features: Routing AudioSources can be routed to any group of any AudioMixer in the Project 3D attenuation and other properties are applied before the signal enters the AudioMixer from the AudioSource Example!

Audio Mixer Features: Effects Add DSP Effects anywhere within the Audio Mixer Hierarchy Modify effect parameters in the inspector Allow wet mixing to tune the amount an affect should be audible. Stack effects in each AudioGroup A selection of built in effects to choose from

Audio Group

Audio Mixer Features: Native Plugin Effects Developers can implement custom native DSP effects that will be accessible within the effect menu Define parameters to the native effects that can be tweaked within the inspector Define custom UI for effect plugins that will be displayed in the inspector for that plugin Developers or third parties can create complex custom DSP processing effects Release on Asset Store Example!

Audio Mixer Features: Snapshots Snapshots capture the state of all parameters within an Audio Mixer Effect Parameters (including plugin effects) Volume & Pitch settings Ducking settings These states can be transitioned between, during gameplay Allows Audio Mixers to change the theme and mood of the entire soundscape with ease Entire sections of the soundscape can be brought in and out of the mix, or individual effects removed or added Example!

Audio Mixer Features: Exposed Parameters Expose individual effect parameters to script via names Modify these parameters directly via game logic Fine grain tweaking of the mix

Audio Mixer Features: Sends & Returns Send portions of the signal from anywhere within an Audio Group to anywhere else in the Audio Mixer Example: Split the signal and apply a series of effects and mix the two signals together again Very powerful tool to combine with Snapshots to create complex mood transitions Example!

Audio Mixer Features: Ducking Lower the volume of one part of the mix based on the signal in another part Example: Compress loud gunshot sounds when an NPC talks so that he/she is always audible Also known as Side Chain Compression Unity provides this as part of any Audio Group Example!!

Thank You! Questions