Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hello. I've been studying Wwise for the past week or so and have decided it's a fantastic fit for a game I'm working on. We're fine with having to bake in our vanilla assets and events and use Wwise as intended, but we're trying to reach a market of modders that will not be so keen on working with Wwise projects.

We're thinking that all we need to give them is the ability to just define and play a sound and that's enough, so we're not too worried about modded states, switches, etc. However, looking at the SDK and API, we haven't found any clear-cut answer.

In essence, is it possible to programmatically create events and load and play loose files of audio through them at all? Would we have to autogenerate a sort of Mod.bnk with all this info every startup - is that even possible on a user's machine without Wwise installed?

We're looking into integrating Wwise into a custom C# engine, so we're not working with Unity, Unreal, etc. Thanks for any help.
in General Discussion by Jim J. (100 points)

1 Answer

0 votes
Take a look at Integrating External Sources chapter in SDK Documentation. You could create several template events with external source in Wwise -  each for different attenuation for example - then user in your editor or script would select event and sound file to be played for that event. You also would have to prepare WEM generation process in your editor since WAV files that user has picked in editor need to be converted into WEM.

Another option is to use Audio Input Source - in general on your code side this behaves like a sink that you have to feed with sound samples at runtime. You could load a Vorbis sound than before playback decompress it to PCM and feed Input Source with those PCM samples.
by Łukasz R. (190 points)
...