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

Hi I'm trying to automate generating soundbanks using waapi through CI. Using Wwise2023.1.3.8471
I'm starting the server like this:
"$env:WWISEROOT\Authoring\x64\Release\bin\WwiseConsole.exe" -ArgumentList "waapi-server `"C:\path\to\my\WwiseProject.wproj`" --allow-migration"

then using python to call 

client = WaapiClient()
result = client.call("ak.wwise.core.soundbank.generate", {
                "platforms": ["Windows"],  # Specify the platform;
                "rebuildSoundBanks": True, # Force the generation
                "writeToDisk": True   # Save the generated soundbanks
            })

which gives me a result of 
{'logs': []}

the issue is I can see from the server console output that there's a warning I'd like for the client to be able to get these warnings and handle them but as far as I can tell theres no way to do that I've subscribed to the ak.wwise.core.log.itemAdded topic and tried using ak.wwise.core.log.get to get each of the logs they're all empty I'm assuming this is because I'm starting the server using wwiseconsole and this  page seems to suggest that logs will then be empyt. But I can't see any other way to disable this behaviour. Has anyone encountered this issue with waapi before and have a work around? The only thing I can think is to capture the server output and parse that.

in General Discussion by Jack Brown (100 points)

1 Answer

0 votes
This is indeed a documented limitation of the ak.wwise.core.soundbank.generate function. The workaround is indded to capture the WwiseConsole output itself.

We are collecting interest for this feature to help prioritization, I'll categorize this as a feature request so others can upvote to manifest interest for this feature.
by Samuel L. (Audiokinetic) (23.6k points)
...