Book Image

Game Audio Development with Unity 5.X

By : Micheal Lanham
Book Image

Game Audio Development with Unity 5.X

By: Micheal Lanham

Overview of this book

Game Audio is one of the key components in making a game successful and it is quite popular in the gaming industry. So if you are a game developer with an eye on capturing the gamer market then this book is the right solution for you. In this book, we will take you through a step by step journey which will teach you to implement original and engaging soundtracks and SFX with Unity 5.x. You will be firstly introduced to the basics of game audio and sound development in Unity. After going through the core topics of audio development: audio sources, spatial sound, mixing, effects, and more; you will then have the option of delving deeper into more advanced topics like dynamic and adaptive audio. You will also learn to develop dynamic and adaptive audio using the Unity Audio Mixer. Further, you will learn how professional third party tools like FMOD are used for audio development in Unity. You will then go through the creation of sound visualization techniques and creating your own original music using the simple yet powerful audio workstation Reaper. Lastly, you will go through tips, techniques and strategies to help you optimize game audio performance or troubleshoot issues. At the end of the book, you’ll have gained the skills to implement professional sound and music. Along with a good base knowledge audio and music principles you can apply across a range of other game development tools.
Table of Contents (21 chapters)
Title Page
Credits
About the Author
About the Reviewer
Acknowledgments
www.PacktPub.com
Customer Feedback
Dedication
Foreword
Preface

Recording vocals


As much as we now have a real-time lip sync system running, you will of course still want to have in game characters lip sync vocal instructions to your players. In order to do that, we need the ability to record vocals or other sounds. How about instead of using different audio recording software we use Unity to record the audio directly. That way, we can also use this recording system to record sounds in a game just like those Foley artists do. Open up Unity and follow the directions here to create a recording scene:

  1. From the menu, select File | New Scene.
  2. After the new scene is created, select from the menu GameObject | Create Empty to create a new object in the Hierarchy window. Rename this new object Recorder and make sure the Transform Position is set to 0.
  3. Locate the MicrophoneRecorder script in the Project window and drag it onto the new Recorder object in Hierarchy window. This will automatically add a new Audio Source and Microphone Recorder components to the object...