menu
 

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

+2 투표
I am on a Mac in Unity and Wwise 2017.2 and cannot resolve a "Wwise: Plug-in execution failure" when using the wwise AkAudioInput source plugin. I have looked at the unity integration documentation on using the AkAudioInput source plugin and it only says iOs audio input is not supported -- nothing else.  It does *not* say any other systems are unsupported.  The documentation offers no path forward.  What am I doing wrong?  I can plainly hear the sound in wwise.
General Discussion Kristina W. (490 포인트) 로 부터

1 답변

+1 투표

I would just like to say that I solved it and made a script to copy/paste on my project blog.  The reason I don't post it here is because my script is larger than the character limit. 

Here is the summary from my comments in the script:

"// Basic strategy is to call UnityEngine.Microphone.Start(), which begins periodic calls to OnAudioFilterRead in the Unity DSP audio processing thread (producer thread)
// and then to call AkAudioInputManager.PostAudioInputEvent(), which begins periodic calls to AudioSamplesDelegate in an AkAudioInputManager background thread (consumer thread)

// Microphone input samples are written to a buffer in OnAudioFilterRead (producer function)
// and read from the buffer in AudioSamplesDelegate (consumer function)

// IMPORTANT:  ensure that under Edit > Project Settings > Audio, Disable Unity Audio is NOT checked"

Here: 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 포인트) 로 부터
Really excited to try this, if it works for me then I owe you one!
It will work but make sure your sample rates/audio settings are set up right (you will get the hypnotoad and/or a delay if you put a different sample rate) and be very deliberate with your routing/ ducking in the audiomixer!    Comment back to me if you run into any issues.  I can vouch for it working atm.  I'm using it right now.
i can not get callback from AkAudioInputmanager,are you do something special setting?
I have the same problem.
...