menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표

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.

General Discussion Jack Brown (100 포인트) 로 부터

1 답변

0 투표
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.
Samuel L. (Audiokinetic) (23.6k 포인트) 로 부터
...