The WAAPI AK-thon

Programmation audio / Communauté et événements / Nouveautés

On Friday April 7th 2017, the soon-to-be-released Wwise Authoring API (WAAPI) was put to the test via an internal company-wide hackathon. Of course, we love coining branded terminology here at Audiokinetic, so we naturally had to call it, the AK-thon! Projects had to include at least one WAAPI component but could include other technologies, and teams were allowed to choose any language or environment. From slightly eccentric to more serious concepts, teams of 2-5 submitted their creative ideas and had one day to realize them.


IMG_8160.jpg

 

Here are 4 WAAPI projects from this fun and WAAPI day! 

  ..............

 

3D Attenuation Visualizer

Team: Benoit Santerre, Pascal Viandier

Objective: Be able to see an attenuation curve in 3D space within the Unreal Engine, and have it change in real time when modified in Wwise.

DSC07108.jpg

-Summary by Benoit Santerre

What we attempted to do was to get a representation of a sound's attenuation curve in a 3D world (in our case, in Unreal Engine 4). We used WAAPI to retrieve the attenuation curve on one sound object, and then used the Unreal Engine's Procedural Mesh Component to rotate that attenuation curve around the Z-axis. The result is something looking like a cone around a sound source in the Engine's 3D view, allowing to easily visualize how a sound will be attenuated in relation to distance. Changing the curve in Wwise automatically refreshes the mesh in Unreal, allowing for easy mixing iterations.  

AkThon_UE4_Attenuation.png

 

  ..............

Infinitely Random Ambience

Team: Shawn Laptiste, Alexandre Lessard, Kristian Mah, Axel Helie Fontaine, Brian McHugh

Objective: Using Essentia's audio analysis and audio-based music information retrieval, create ambiences and musical themes from samples that are determined to be similar within FreeSound's database of sounds. Samples will be analyzed using spectral, temporal, tonal, and high-level music descriptors.

DSC07105.jpg

-Summary by Shawn Laptiste

In this hack, we attempted to use WAAPI to create random sequences of sounds within Wwise based on an input template sound.  Essentia is used to perform analysis on the template sound.  Data extracted from the Essentia analysis is then used to query Freesound for similar sounds using Freesound API.  Using WAAPI, these new similar sounds are imported into the Wwise project. Snippets of these sounds are then placed into Random Containers within Sequence Containers with random blend durations creating audio that is similar to the original template sound but varying in unpredictable ways. 

 

 

The Wwise Grabber: Hand gesture interface for audio edition using Leap Motion controller

Team: Xavier Buffoni, Thalie Keklikian, Nathan Harris, Alexandre Savard

Objective: Create an application using the controller interface to control 3D position through WAAPI, move a listener and emitter (Event), draw attenuation curves, lengthen/shorten sounds, and (optionally) import a 3D model and simulate geometry-driven reverberation.

DSC07103.jpg

-Summary by Thalie Keklikian

The idea behind our project was to control Wwise with hand gestures, Minority Report style. We got the idea from our team member Alex who had just started using his Leap Motion device at home. The Leap Motion Controller is a USB-pluggable sensor that uses IR cameras to track the position of hands placed in the area above it. Its SDK can be easily used to detect fingers, hands, and arms. It can even distinguish the right hand from the left!

WAAPI can do anything Wwise can without having to use the graphic interface at all. For the hackathon, we extracted three main functions from it: one to play the current Event, one to go to the next Event, and one to set RTPC values. We also created 3 different gestures. To play an Event, we decided to point with one finger. The code would check if only one finger was detected and, if so, would see if it was going from a none zone to a touching zone. Then, opening up all of the fingers of one's hand would change the Event to the next one. While playing an Event, a third gesture would be used to alter its sound. We used the pinching gesture, or as we have called it, the grabber. When grabbing an invisible node with one's hand and moving alongside the X and Y axes of the leap motion, these positions would be sent as RTPC values. On the Wwise project side, we created different Events, each having a sound and something to be changed with two RTPCs. For example, one Event played a Wwise Synth One SFX made up of sine and sawtooth waves. When grabbing and moving alongside the Y axis (vertically), the base frequency would be changed. When moving alongside the X axis (horizontally) the sawtooth would transpose.

The result was quite impressive. It kind of looked like we were playing a theremin (a really basic one). Of course, this was all done in a day, so our final product was not perfect. Some shortcuts we took, for example, were to assign the grabbing to a different hand than the other two gestures so that we wouldn't trigger the latter ones by accident while making the grabbing gesture. Still, sometimes, the leap motion would not detect the right hand and would call the wrong function. But we had fun and that's what's important! This WAAPI project opens up a lot of possibilities. Imagine a Wwise authoring in VR that would enable people to change some curves and parameters in-game with a hand tracking system! 

 

  ..............

Wwise Engine Authoring Link on OBD2 (WEALO 'pronounced oui allo')

Team: Francois Thibault, Tai Vuong, Maximilien Simard Poirier, Simon Ashby

Objective: Extract engine relevant parameters to drive engine sound synthesis (RPM, vehicle speed, engine load) directly from real-time or offline traces of OBD2 diagnostic hardware interfaces. This will drive Wwise runtime parameters to provide more realistic testing and simulations of audio engine synthesis designs.

IMG_8169.jpg

-Summary by Francois Thibault

Designing realistic car sounds can sometimes be a challenge without at least a basic physics simulation application running. Some programming efforts are, therefore, usually required before sound designers can start designing vehicle sounds. Our idea was to use data extracted from real cars using OBD2 diagnostic hardware interfaces, either in real time or replaying previously captured data, to drive RTPC parameters like RPM, vehicle speed, and engine load of engine sound synthesis design in Wwise directly through WAAPI, not requiring any Wwise SDK integration.  

 

  ..............

 

Learn more about the Wwise Authoring API (WAAPI).

 

Subscribe

Audiokinetic

Audiokinetic

Audiokinetic is the leading provider of cross-platform audio solutions for interactive media and gaming, and sets new standards in interactive audio production for location-based entertainment, automotive, consumer electronics, and training simulation. A trusted and strategic partner to the world’s largest interactive media developers and OEMs, Audiokinetic has a long-established ecosystem of allies within the audio industry and amongst platform manufacturers. The company’s middleware solutions include the award-winning Wwise, as well as Wwise Automotive and Strata. Audiokinetic, a Sony Group Company, is headquartered in Montréal, Canada, has subsidiaries in Tokyo, Japan, Shanghai, China, Hilversum, Netherlands, as well as Product Experts in the USA.

 @audiokinetic

Commentaires

Andrea Rossini

June 12, 2019 at 08:19 am

Hi, This is very interesting! Is it possible to look at the code you wrote to create 3D Attenuation Visualizer? Thank you!

Laisser une réponse

Votre adresse électronique ne sera pas publiée.

Plus d'articles

WAQL 2.0

Cela fait déjà quelques années que la première version du Wwise Authoring Query Language (WAQL) a...

11.8.2023 - Par Bernard Rodrigue

Nouveauté de Wwise Spatial Audio 2023.1 | Révision du modèle d'envois auxiliaires

Si vous avez parcouru la liste des nouvelles fonctionnalités de Wwise 2023.1, et en effet, il y en a...

15.12.2023 - Par Nathan Harris

Nouveauté de Wwise Spatial Audio 2023.1 | Zones de réverbération

Introduction aux Zones de réverbération Wwise 23.1 introduit une nouvelle fonctionnalité à Wwise...

10.1.2024 - Par Thomas Hansen

Nouveauté de Wwise Spatial Audio 2023.1 | Réduction de l'effet de phasing

Dans l'article d'aujourd'hui, nous allons plonger en profondeur dans un phénomène acoustique...

25.1.2024 - Par Allen Lee

Wwise 2024.1 Nouveautés

Wwise 2024.1 est en ligne et peut être installé à partir de l'Audiokinetic Launcher. Voici un résumé...

8.11.2024 - Par Audiokinetic

Présentation d'AkMemoryArena - Le nouvel allocateur mémoire de Wwise 2024.1

Dans cet article, nous allons vous présenter en détails un des nouveaux systèmes de Wwise 2024.1, un...

18.12.2024 - Par David Crooks

Plus d'articles

WAQL 2.0

Cela fait déjà quelques années que la première version du Wwise Authoring Query Language (WAQL) a...

Nouveauté de Wwise Spatial Audio 2023.1 | Révision du modèle d'envois auxiliaires

Si vous avez parcouru la liste des nouvelles fonctionnalités de Wwise 2023.1, et en effet, il y en a...

Nouveauté de Wwise Spatial Audio 2023.1 | Zones de réverbération

Introduction aux Zones de réverbération Wwise 23.1 introduit une nouvelle fonctionnalité à Wwise...