Slides from Game Audio Factory presentation at the first UUGA (Unity User Group of Angoulême, in France) about the audio integration and audio tools in Unity, with different sample projects (Endless Space from Amplitude Studio, Aku from the ENJMIN students)
7. Fonctionnalités son
d’Unity
UNE PARTIE DU MOTEUR FMOD UTILISÉE PAR UNITY
Intégré à l’éditeur
Audio listener, audio source, reverb
Volume, pitch, loop
Son 3D : Doppler, Rolloff, Pan level,
Spread, automation
Effets (Unity pro) : filtres, distortion,
chorus, echo
http://www.gameaudiofactory.com
10. Endless Space
Projet Fmod Ex + Unity
-AMPLITUDE STUDIO (MADE IN FRANCE !)
-4X (« eXplore, eXpand, eXploit, and eXterminate » )
-Unity + FMOD EX + DESIGNER
-STEAM (PC/MAC)
http://www.gameaudiofactory.com
14. Projet Wwise + Unity
INSTALLATION DU PLUGIN
DOCUMENTATION CLAIRE
À copier dans le dossier Assets d’Unity :
- le dossier « AK » contenant l’API et des scripts d’exemple
- dans un dossier « Plugins » le plug-in de la plateforme et
configuration voulues
- dans le dossier StreamingAssets/Audio/GeneratedSoundBanks/
la banque de son générée par l’authoring tool Wwise
MULTI-PLATEFORME À GÉRER MANUELLEMENT
http://www.gameaudiofactory.com
15. Projet Wwise + Unity
CONFIGURATION
Sur un Game Object persistant :
Initialisation/Terminaison du Sound Engine
Ordre d’exécution des scripts
Chargement de la banque de son au démarrage
Listener / GameObjectTracker : objets d’Unity enregistrés
dans Wwise pour gérer la 3D
CUSTOMISABLE
http://www.gameaudiofactory.com
16. Projet Wwise + Unity
INTÉGRATION
Lier les évènements et variables du jeu à ceux de Wwise
Fonctions en C# : AkSoundEngine.nomDeLaFonction();
Wwise
Sons
Comportements
Effets
Hiérarchie, Bus
Unity
Events
(Play, Stop, Mute…)
Game Syncs
(RTPC, Switch/State…)
http://www.gameaudiofactory.com
PostEvent (“nom”,
GameObject)
SetRTPC (“nom”, valeur,
GameObject, …)
SetSwitch (“nom global”,
“nom du switch”,
GameObject)
17. Projet Wwise + Unity
SCOPE OBJECT OU GLOBAL :
RTPC :
- fonctionnement objet même nom, objets différents, valeurs
différentes
- scope global pour utiliser un RTPC sur un bus + tous les RTPC de ce
nom prennent cette valeur
Event :
-toujours associé à un objet
- utilise les infos de spatialisation associées à cet objet
Un Event de Wwise peut comporter plusieurs actions, des fades, des
délais… mais ne constitue qu’un seul appel au moteur son.
http://www.gameaudiofactory.com