커뮤니티 Q&A

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

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

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

+5 투표

In an answer to the related question, I read "Microphone is not supported in Unity integration yet."

Does this mean the Wwise Audio Input source cannot be used from Unity? Is it still the case today? Would it need to be registered by rebuilding the integration?

Thanks :)

답변과 관련되는: Does C# API documentation exist?
General Discussion Matthieu B. (820 포인트) 로 부터
Good afternoon, has this issue been resolved yet? We really want to use the microphone with Wwise and Unity 5!
No it hasn't.  What user-scenario you want to implement?
Hi Mathieu, I'm looking at using mic input for voice comms with Wwise providing voice FX and 3D positioning if at all possible...
Bumping this thread....
Hey, I'm currently looking into this same issue myself.  I do believe that it is possible to write your own native plug in that will pass information between the Audio Input Plug-In and your Unity C# project. I'm not 100% on everything just yet, but that seems to be the easiest, if not totally convenient, way of doing so.
We are trying to do this as well. We need to use the audio input to process the user voice. Seems the dll is written in C++ and Unity is running in C#. Any chance that an update to this dll is in the works?
Responding to Scott, you CAN write a Native (unmanaged - and "unsafe" by Unity standards) plugin that will process the C++ in C#.  

Check out these two links:

http://www.alanzucconi.com/2015/10/11/how-to-write-native-plugins-for-unity/

http://ericeastwood.com/blog/17/unity-and-dlls-c-managed-and-c-unmanaged

You're going to have to figure it out from there I suppose. I'm also doing something similar for our project. I'll try to keep this updated as I find a solution (or develop one).
Hey Jeremy, Thanks for the tip. We are about to set aside some dev time to do this, so we'll see. But I'm also not sure it will be worth it. Right now, I can't see anyway to record the audio input and kick the recording back into wwise for processing. I currently have a sound sfx object with the audio input as the source and the wwise recorder on the effects. This works great in wwise and through wwise i can put the recording back into wwise as a new sound sfx object and then assign a play event to that new object. After building the soundbanks, in unity I can call that event and play back the recording, but that's as far as I am right now. First problem is how to get the pc mic IN to the audio input. that's a c++ c# thing. then if i do get that to work how can you rebuild a soundbank after the app is built? My users will not have wwise on their computer and the generated soundbanks are moved to streaming assets for building. So after you make the executable, wwise goes away. I don't see a way to have live input, record it, put it back into wwise, process it and play it back in unity.

2 답변

+2 투표
Hi! I'm looking into integrated voice chat in our game and ran into this. It looks like Audio Input is the way to go IF it was implemented for Unity, right? Is there any information on if we can expect an implementation?

thanks!
Hjalmar V. (190 포인트) 로 부터
0 투표

I would just like to say that I solved the AKAudioInput to Wwise and made a script to copy/paste on my project blog.  I summarize how to do it in a related question https://www.audiokinetic.com/qa/4311/using-akaudioinput-in-unity

 Here is the script: https://vraasp.wordpress.com/2018/01/24/getting-real-time-microphone-input-into-wwise-in-unity-using-the-ak-audio-input-plugin-script/

 

Kristina W. (490 포인트) 로 부터
...