4/1/2017 4:16 PM.

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation WSV322.
Advertisements

Välkommen till Sommarkollo Introduce XNA Game Studio Express Make A Game!
Enhancing Spotfire with the Power of R
MP3 Optimization Exploiting Processor Architecture and Using Better Algorithms Mancia Anguita Universidad de Granada J. Manuel Martinez – Lechado Vitelcom.
Embedded Streaming Media with GStreamer and BeagleBoard ESC-228 Presented by Santiago Nunez santiago.nunez (at) ridgerun.com.
CSE 380 – Computer Game Programming Audio Engineering.
Sound Engine Evaluation for Computer Games Case Study: fmod Jyun-Ming Chen.
SimPhonics, Inc. FXDirect Audio System for V+. SimPhonics, Inc. What Is FXDirect ® Audio Subsystem Add-on to V+ –Currently built-in Consists of Objects.
CHAPTER 16 Audio © 2008 Cengage Learning EMEA. LEARNING OBJECTIVES In this chapter you will learn about: – –The fundamentals of sound – –DirectX Audio.
Implementation of an Audio Reverberation Algorithm
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
1 Performed By: Khaskin Luba Einhorn Raziel Einhorn Raziel Instructor: Rivkin Ina Spring 2004 Spring 2004 Virtex II-Pro Dynamical Test Application Part.
IIS7: Building New Core Server Modules Michael Volodarsky COM406 Program Manager Microsoft Corporation.
1 PC Audio 2 Sound Card  An expansion board that enables a computer to receive, manipulate and output sounds.
Guitar Effects Processor Critical Design Review October, 07, 2003 Groups Members: Adam Bernstein Hosam Ghaith Jasenko Alagic Matthew Iyer Yousef Alyousef.
The Audio Processing Graph © Allan C. Milne Abertay University v
2 Outline Digital music The power of FPGA The “DigitalSynth” project –Hardware –Software Conclusion Demo.
Operating System.
1 Instant replay  The semester was split into roughly four parts. —The 1st quarter covered instruction set architectures—the connection between software.
Computer Graphics Introducing DirectX
DXVA 2.0 A new Hardware Video Acceleration Pipeline for Windows Vista
Windows audio architecture Win MM Application DirectSound Application SysAudio.SYS Kmixer.SYS WinMM.DLLDSound.DLL Device Drive Container USB Device Driver.
4/20/2017 7:57 PM.
GODIAN MABINDAH RUTHERFORD UNUSI RICHARD MWANGI.  Differential coding operates by making numbers small. This is a major goal in compression technology:
 Frank Savage Architect Microsoft Corporation.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
Embedded Streaming Media with GStreamer and BeagleBoard
Translate the following message:
Panning and Filters © Allan C. Milne Abertay University v
Games Development Practices Sound Effects & OpenAL CO2301 Games Development 1 Week 15.
Introduction Advantage of DSP: - Better signal quality & repeatable performance - Flexible  Easily modified (Software Base) - Handle more complex processing.
Senior Design Project “ MP3 Player ” Brian P. Allen Zeeshan A. Khan Jerry T. Koshy.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
FPL Sept. 2, 2003 Software Decelerators Eric Keller, Gordon Brebner and Phil James-Roxby Xilinx Research Labs.
Application Software System Software.
Computer Graphics 3 Lecture 6: Other Hardware-Based Extensions Benjamin Mora 1 University of Wales Swansea Dr. Benjamin Mora.
CSE3AGT - Audio Paul Taylor Sound Technologies XACT (Cross Platform Audio Creation Tool) – XACT is the audio production tool for Xbox development,
Lecture on Central Process Unit (CPU)
What’s New in Windows Forms 2.0 Stephen Turner Software Design Engineer
EBIZ302 Jupiter Business Process Automation and Web Services David Fong Program Manager.
Los Alamos National Laboratory Streams-C Maya Gokhale Los Alamos National Laboratory September, 1999.
Better Tools for Sound Designers on PlayStation®3 through Open Architecture Designs Michael Kelly, Senior Audio Engineer, Sony Computer Entertainment.
Building More Powerful ASP.NET Applications with IIS7 Michael Volodarsky COM303 Program Manager Microsoft Corporation.
Heterogeneous Processing KYLE ADAMSKI. Overview What is heterogeneous processing? Why it is necessary Issues with heterogeneity CPU’s vs. GPU’s Heterogeneous.
What is DirectX? DirectX is built by Microsoft as a collection of API’s (Application Programming Interfaces) for the purpose of multimedia processing.
Computer Graphics Graphics Hardware
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
Sound Card A sound card (also referred to as an audio card) is a peripheral device that attaches to the ISA or PCI slot on a motherboard to enable the.
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Piano Chord Builder Artem Kuligin CS 470 6/17/2018 3:08 AM
Technology Literacy Hardware.
Chapter III Desktop Imaging Systems & Issues
Managed DirectX Joe Gavin.
Modernizing App Experiences
The Small batch (and Other) solutions in Mantle API
Windows Phone multitasking
Introduction to cosynthesis Rabi Mahapatra CSCE617
"Oslo”: Customizing and Extending the Visual Design Experience
Architecting and integrating sensor drivers
New Developer Tools in Windows Embedded Standard 2011
Session Objectives And Key Takeaways
ASP.NET 4 Core Runtime for Web Developers
Saranya Sriram Developer Evangelist | Microsoft
Computer Graphics Graphics Hardware
Games Development Practices Sound Effects
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Consumer Channels and Central Marketing Group
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

4/1/2017 4:16 PM

XAudio2: Audio Building Blocks for the Future 4/1/2017 4:16 PM XAudio2: Audio Building Blocks for the Future Brian Schmidt Program Manager XNA Professional Game Platform Microsoft

Game Audio Pipelines

Game Audio Pipelines

4/1/2017 4:16 PM Game Audio Pipelines

XAudio2

XAudio2 XAudio2 Xbox 360 Game Windows Game (XACT 3) (XACT 3) WASAPI (Vista)/DirectSound (XP) XMA Decoder Xbox 360 Audio Output Hardware Drivers/Audio Output Hardware

Bit of History… 1995: DirectSound released “Bleeding Edge” CPU: Pentium, 133 MHz (no MMX) DirectSound3D API introduced (1997) ISA sound cards w/ on-board memory “wave file is a sound”

Fast Forward to 2008 Multicore, 3+ GHz CPUs HD motherboard audio Surround Sound High fidelity SIMD floating-point architectures High-level audio tools Complex sounds and processing

XAudio2 is… A new API for code-driven, low-level audio processing for games Replacement for DirectSound for gaming applications for Windows XP and Windows Vista Replacement for XAudio for Xbox 360 games Based on Xbox 360 XAudio architecture XAudio2 API will be familiar to XAudio developer, but not just a recompile Incorporates feedback on XAudio API

XAudio2 Design Goals Focus exclusively on game scenarios Simple – Just a few methods cover basic scenarios Greater emphasis on digital signal processing (DSP FX) Write and integrate your own DSP FX easily Submixing Allow more flexibility for 3D Support Microsoft gaming platforms

XAudio2 Features Programmable voices Separation of sound data from “voice” Point XAudio2 at some sound data and Play() Submixing Multirate processing Arbitrary loop point Per-voice filtering Programmable voices Effects processing, SRC Software DSP Enhanced Surround Sound support Native Compressed Data Support XMA on Xbox 360 xWMA on Windows and Xbox 360 ADPCM on Windows Extensible

XAudio2 Components Source Voice Reads data from XMA decoder /ADPCM or PCM xWMA Sample Rate Conversion, Volume, loop, N-way Pan Can insert arbitrary FX Multichannel support Submix Voice(s) Input from one or more voices & submixes them together N-way Pan Can send to additional submix voices Mastering Voice Takes final N channel mix as input Can insert arbitrary FX (compression, etc.) Outputs data to system

XAudio2 Overall Architecture

XAudio2 Source Voice XAudio2 Submix Voice

Submix Voices Useful for summing sounds and applying single DSP and/or 3D panning on the aggregate mix Also used for shared “send to” effects Reverb, etc. Can be used to reduce CPU usage by creating a “low rate submix”

Example: Submixing Voices

Example: Reverb Sends Source Voice Submix Voice Source Voice Mastering Voice Source Voice Submix Voice with Global Reverb

Example: Low Rate Submix

3D/Surround Sound 3D Audio handled differently from DirectSound3D XAudio2 provides enhanced Surround support Explicit multichannel panning/mapping 3D handled as a separate, replaceable library XAudio2 takes multichannel speaker volumes X3DAudio library transforms source/listener coordinates into speaker volumes and other synthesis parameters

Game Engine X3DAudio XAudio2 Game Object Geometry Data -5.1 Speaker Volumes -DSP Data -Intermediate calculations -5.1 Speaker Volumes -DSP Data XAudio2

DSP Audio Effects XAudio2 uses new cross-platform DSP model, xAPO (Audio Processing Object) Simplification of APO model used for Windows Vista system effects Can use supplied xAPOs or write your own

4/1/2017 4:16 PM XAudio 2 Demo

Additional Enhancements Beyond Xbox 360 XAudio API Built-in filter per voice Can set overall sampling rate Submixes can have their own sampling rate Reduce CPU usage Non-blocking API Deferred commands Not limited to 6-channel source data Improved DSP architecture

Libraries Built on XAudio2 Several libraries are built on top of XAudio2 These are updated as well Follow same Beta/RTM schedule XACT 3 XACT running on XAudio2 Windows and Xbox XMedia2 (XMV) Xbox 360 movie player running on XAudio2 XHV2 Xbox 360 voice library running on XAudio2

Release Schedule XAudio2 is available now RTM/Approved in March 2008 Beta/Unapproved in November SDK/XDK RTM/Approved in March 2008 Update in June 2008 SDK/XDK

Summary XAudio2 provides all-software audio pipeline for Windows and Xbox 360 Provides consistent experience across hardware configurations Based on Xbox 360 XAudio API, with enhancements Addresses long-standing issues with DirectSound Buffer/Data/Allocations Flexible DSP, submixing, signal processing Cross-pollination of Xbox 360 and Windows Technologies

Call to action Windows Games Xbox 360 Games Everybody! Move your DirectSound game to XAudio2 Xbox 360 Games Move your XAudio game to XAudio2 Everybody! Please give us feedback Use connect.microsoft.com for status, newsgroups, etc. https://connect.microsoft.com/site/sitehome.aspx?SiteID=391

© 2008 Microsoft Corporation. All rights reserved. 4/1/2017 4:16 PM http://www.xna.com © 2008 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.