커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표
We are integrating wwise authoring in our python/flask based web app through waapi-client-python, and I'm trying to figure out the best way to generate the soundbanks after edits have been made. There's several issues:

1) it seems generating soundbanks through waapi is only possible via the ak.wwise.ui.commans.execute command, which needs the full-blown UI editor to be launched. Our intent was to use the lean waapi CLI host, but this is not a strict necessity
2) when we are using the above command, the waapi client's web socket times out after ~15 seconds which throws an error. The soundbank generation continues in the UI, but we have no way of knowing when it is done.
3) I considered alternatively to do the soundbank generation via the command line directly without waapi - but this scenario has the issue that the wwise cli warns that it is a bad idea to run multiple instances for the same project - and we already have a cli running permanently as waapi host for regular requests.

Any ideas for a good solution here?
General Discussion Maarten D. (100 포인트) 로 부터

1 답변

+1 투표

1) Coming in Wwise 2019.2, we will add support for generating soundbanks through dedicated WAAPI function, in CLI and UI modes. For 2019.1, you will need to rely on ak.wwise.ui.commans.execute.

2) This is a very unfortunate issue. There must be a timeout in our python waapi client. We will create an issue on our side. If you are interested to investigate, the sources are here: https://github.com/audiokinetic/waapi-client-python

3) Yes, it is possible to run into issues when running multiple instances of wwise on the same project because there are shared resources that could get corrupted, especially during conversion and soundbank generation.

Bernard R. (Audiokinetic) (35.8k 포인트) 로 부터
Thanks for replying!

- Happy to hear that 2019.2 will have a dedicated function for this!
- In the mean time, I have found the source of the timeouts and can work around this. In the autobahn module, the wamp client transport factory has an autoping interval of 10 second & timeout of 5 seconds - see https://autobahn.readthedocs.io/en/latest/_modules/autobahn/asyncio/wamp.html . I suspect the client gets no ping reply when this command is executed, which disconnects the client. Increasing these autoping values allow me to finish long runs.
I can confirm that with a custom autobahn branch where the autoping timeouts are removed, we obtain the desired behavior.

One snag is that the full editor blocks on a popup when it detects changes on disk, after which API calls are denied until the popup is confirmed; this makes it less ideal as an API host.

Is there an ETA on 2019.2 ?
You might want to try ak.wwise.debug.enableAutomationMode if you wish to avoid any popup to show-up.

https://www.audiokinetic.com/library/edge/?source=SDK&id=ak_wwise_debug_enableautomationmode.html

ETA for 2019.2 is end of January
...