Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Game Audio Development with Unity 5.X

You're reading from   Game Audio Development with Unity 5.X Design a blockbuster game soundtrack with Unity 5.X

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787286450
Length 404 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Micheal Lanham Micheal Lanham
Author Profile Icon Micheal Lanham
Micheal Lanham
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introducing Game Audio with Unity FREE CHAPTER 2. Scripting Audio 3. Introduction to the Audio Mixer 4. Advanced Audio Mixing 5. Using the Audio Mixer for Adaptive Audio 6. Introduction to FMOD 7. FMOD for Dyanmic and Adaptive Audio 8. Visualizing Audio in Games 9. Character Lip Syncing and Vocals 10. Composing Music 11. Audio Performance and Troubleshooting

Audio Mixer scripting with parameters

In the last section and example, we looked at a partial way in which we can control the Audio Mixer through snapshots and transitions. While snapshots work well for setting multiple parameters quickly, they offer less control than being able to alter a parameter directly during every frame, for instance. That level of fine-grained control requires us to script directly against the mixer using exposed parameters. Let's take a quick look at how we expose parameters from the mixer in the exercise here:

  1. Open up Unity and direct your attention to the Audio Mixer window. Select the Ambient group and then in the Inspector window, right-click on (Ctrl + click on Mac) on the Volume setting to display the parameter context menu. Select the Expose 'Volume (of Ambient)' to script option as shown in the screenshot here:
Exposing the Volume...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image