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

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

Fundamental of Digital Media Design. Introduction to Audio

EUROPEAN COMPUTER DRIVING LICENCE. Multimedia Audio Editing. Syllabus

CHAPTER 10: SOUND AND VIDEO EDITING

Lecture #3: Digital Music and Sound

Skill Area 214: Use a Multimedia Software. Software Application (SWA)

Compressed Audio Demystified by Hendrik Gideonse and Connor Smith. All Rights Reserved.

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

Elementary Computing CSC 100. M. Cheng, Computer Science

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Senior Manager, CE Technology Dolby Australia Pty Ltd

2.1 Transcoding audio files

Digital Audio Basics

Introducing working with sounds in Audacity

REVIEW: PROCEDURES FOR PRODUCING AUDIO

ITP 342 Mobile App Dev. Audio

AET 1380 Digital Audio Formats

5: Music Compression. Music Coding. Mark Handley

Frequently Asked Questions

CS 074 The Digital World. Digital Audio

Introducing Audio Signal Processing & Audio Coding. Dr Michael Mason Snr Staff Eng., Team Lead (Applied Research) Dolby Australia Pty Ltd

Release notes for version 3.1

Data Representation. Reminders. Sound What is sound? Interpreting bits to give them meaning. Part 4: Media - Sound, Video, Compression

Export Audio Mixdown

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

UNDERSTANDING MUSIC & VIDEO FORMATS

History of Audio in Unity

Computing in the Modern World

change to a better tool

Copyright 2017 by Kevin de Wit

Compression; Error detection & correction

Lecture 16 Perceptual Audio Coding

the gamedesigninitiative at cornell university Lecture 15 Game Audio

Perceptual Coding. Lossless vs. lossy compression Perceptual models Selecting info to eliminate Quantization and entropy encoding

OLIVE 4 & 4HD HI-FI MUSIC SERVER P R O D U C T O V E R V I E W

Chapter 5.5 Audio Programming

Capturing and Editing Digital Audio *

Digital Audio. Amplitude Analogue signal

Summary Product Contents Specifications System Requirements Product Photography. Sound Blaster Audigy 2 ZS Platinum Pro

freetunes Engelmann Media GmbH

Introduction to computers

CDJ-350 & DJM-350 EXPLOSIVE PERFORMANCE. Compact creativity, vast versatility

Introduction to Audacity

Amazing Audacity: Session 1

VS1063 ENCODER DEMONSTRATION

Standard File Formats

Sydney PC User Group Smartphones SIG Mtg 3 Intro (cont.) John Shiel. Mobile Phones with fast connection, easy text entry

High Definition Experience & Performance Ratings Test. HDXPRT 2012 v1.0 WHITE PAPER

Sounding Better Than Ever: High Quality Audio. Simon Forrest Connected Home Marketing

计算原理导论. Introduction to Computing Principles 智能与计算学部刘志磊

MAGIX Music Maker MX. Making music is as easy as listening to it! New highlights why the new version is worth it EAN:

Press Release Sony New Walkman NWZ-F800 Mobile Entertainment Player Delivers Exhilarating Music Hong Kong, October 4, 2012

INTRODUCTION TO SAMPLING 1

Preparing Music and Narration for AV s

CSC 101: Lab #8 Digital Video Lab due date: 5:00pm, day after lab session

AAMS Auto Audio Mastering System V3 Manual

Digital Audio Systems Desktop Sampling Systems

ONLIVE CLOUD GAMING SERVICE

Digital Media. Daniel Fuller ITEC 2110

FILE CONVERSION AFTERMATH: ANALYSIS OF AUDIO FILE STRUCTURE FORMAT

Sampling & Sequencing. Combining MIDI and audio

Reference8 Pro music player Fast Operation Guide

Wireless & Bluetooth. Product Features

General Computing Concepts. Coding and Representation. General Computing Concepts. Computing Concepts: Review

Super UA Q&A 2015/03/16

Data Management CS 4720 Mobile Application Development

Lossy compression. CSCI 470: Web Science Keith Vertanen

Audio Compression. Audio Compression. Absolute Threshold. CD quality audio:

1. HOST- Connect USB flash or HDD for saving recoded video file or still image 2. DC- DC 5V power supply. 3. HDMI IN- HDMI input.

Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig

How-To Guide: Beginners Guide on How to Make a Podcast in Reaper

3 Sound / Audio. CS 5513 Multimedia Systems Spring 2009 LECTURE. Imran Ihsan Principal Design Consultant

Design Brief CD15 Prisma Compact Disc and Digital Music Player

twisted wave twisted wave [an introduction]

WHAT IS BFA NEW MEDIA?

CS 4455: Video Game Design & Implementation

Sometimes dreams come true

Mpeg 1 layer 3 (mp3) general overview

Quick Guide to Getting Started with:

Microcontroller Compatible Audio File Conversion

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

PN ITEM UPC ARCHOS 55b Platinum 8GB EU ARCHOS 55b Platinum 16GB EU

StreamingChurch.tv Equipment Recommendations

PS Audio Primer on Network Audio. February 2, 2011

Final Cut Pro 5 For Dummies Pdf Windows

Compression; Error detection & correction

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

Lesson 5: Multimedia on the Web

P100 Wireless Player.

Sources:

I imported a video from my PS4, when I try to play it in light works, it lags badly. What can I do to fix it?

KLARSTEIN USB TURNTABLE - User's manual

Aud-X 5.1 Help.

Lesson 5: Multimedia on the Web

Design Brief CD35 Prisma Compact Disc and Digital Music Player

Recording oral histories

What s New in Pro Tools 5.0.1

1.1 Bits and Bit Patterns. Boolean Operations. Figure 2.1 CPU and main memory connected via a bus. CS11102 Introduction to Computer Science

ADDING MUSIC TO YOUR itunes LIBRARY

Parametric Coding of High-Quality Audio

Optimizing DirectX Graphics. Richard Huddy European Developer Relations Manager

Transcription:

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

Optimizing Audio Different from movies or CD s Data size vs. CPU usage For every generation, we must optimize Maximize quality within constraints

Leisure Suit Larry: Love for Sail! MS-DOS 5.2 or Windows 3.1 or greater 486 DX2 processor (66 MHz) 8 MB RAM (DOS), 12MB (Windows) 22 MB Hard drive space SVGA, 256 colors 1996 specs!

Compare with iphone 6 1 GB of RAM 64 bit, dual core 1.38 GHz processor 16-128 GB of hard drive space 2014 specs!

Optimizing Audio Efficient Spotting and Editing for Games Digital Audio Theory and Formats Creative Reuse of Audio File Management and Middleware

Efficient Spotting and Editing for Games

The best way to save space on audio in your game: Don t put audio in your game!

Spotting a Game Look at the information the game knows Think about what s important to the user Don t assume you need audio all the time Prototype and iterate Log your sounds and analyze Get an audio professional involved early

Editing Sound for a Game Trim sounds tightly Edit to zero crossings Record loud, turn down in software

Audio Quality and File Size

Three Parameters Affect Bitrate Sample rate Bit depth Number of channels

Sample Rate Sampling an analog signal from a mic Measurement of amplitude Linear PCM (uncompressed) Sampling rate: how often we sample The Nyquist frequency CD quality is 44100 Hz

Bit Depth Resolution of each sample measurement Lower bit depths increase noise CD quality is 16 bits

Sample Rate/Bit Depth Demo

Perceptual Audio Coding Analyze a signal, throw away frequencies we won t miss. Lossy compression: some data is gone forever Varies based on input: noise compresses very little, silence compresses a lot

Examples MP3 Ogg Vorbis AAC WMA/XMA AC3

Perceptual Audio Coding Sometimes this can be used for aesthetic purposes Performance hit for decompressing sounds Hardware acceleration available on some platforms (iphone, Xbox One )

Lossless Audio Compression Examples FLAC Apple Lossless All data is retained Not ideally suited for games

Compress with Care Don t use the same settings for all sounds Takes more time, but improves quality Keep hi-res version, work from copy

Creative Reuse of Sounds

Benefits of Reuse Create new sounds from existing data Minimize footprint, maximize variation Map audio parameters on to game data Close synchronization and immersion

Example: footstep sounds Choosing from a set of sounds randomly Real-time manipulation of pitch, volume Emulating the physics of the natural world Very efficient in terms of CPU

Example: Combinatoriality Multiple layers of random sounds Exponential increase in combinations Consistency also increases Still very efficient

Example: Randomizing Loops Infinite variation from a short loop Scalability and parameterization A kind of granular synthesis

Example: Generative Music Multiple independent layers Intermittent phrases Synchronized to a metronome Cued from game events Scalable to gameplay

Example: EndWar Loading Music Extremely limited resources Little memory, no disk access Music responded to load times xxx kb

Real-Time Effects Sophisticated digital signal processing Avoids the need for multiple versions Scalable with game parameters Infinite variety

Effects in EndWar Filter and distortion for radio effect Filter for distance simulation Audio particle system for explosions

Audio Effects in ios7 kaudiounitsubtype_bandpassfilter kaudiounitsubtype_dynamicsprocessor kaudiounitsubtype_delay kaudiounitsubtype_aufilter kaudiounitsubtype_graphiceq kaudiounitsubtype_highpassfilter kaudiounitsubtype_highshelffilter kaudiounitsubtype_peaklimiter kaudiounitsubtype_lowpassfilter kaudiounitsubtype_lowshelffilter kaudiounitsubtype_multibandcompressor kaudiounitsubtype_matrixreverb kaudiounitsubtype_netsend kaudiounitsubtype_parametriceq kaudiounitsubtype_sampledelay kaudiounitsubtype_pitch Even easier to use with new AVAudioEngine in ios8!

Synthesis Huge topic with much potential Like soft synths in music production More CPU usage, but far less data Opportunities for real-time manipulation A golden age of MIDI? Also for sound effects

File Management and Middleware

Data management for game audio Requires organization Tracking many small files Enforce a naming convention

Audio Engine vs. Game Engine Game engine calls sound events Audio engine manages sound events Audio designer defines audio behavior Clear and efficient division of labor

Possible Audio Behaviors Play sound, Play multiple sounds, Play sound with variations, Stop sound, Play one sound while stopping another, Change volume on sound, Apply effect, etc. Audio implementer doesn t need to know about this; just call the event

Use Middleware Most common solutions Wwise (Audio Kinetic) FMOD Big gains for all but the simplest games Reasonably priced (in some cases free) Available for Android, ios, and others

Middleware Advantages Mix in-game for a tight iteration loop Log and profile your audio data use Avoid redundancies Export for multiple platforms Prioritize your sounds Incorporate effects plug-ins

Conclusion

Summary Spot your game carefully for audio Edit your sounds tightly Compress sounds individually Reuse your sounds creatively Track your assets carefully Mix and profile your sounds iteratively

Questions? Ben Houge Berklee College of Music Music Technology Innovation bhouge@berklee.edu Twitter/ 微博 :@AleaBoy

Click to edit Master text styles Second level Third level Fourth level Fifth level