커뮤니티 Q&A

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

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

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

0 투표

VERSIONS:

UE - 4.20.3

Wwise - 2018.1.4.6807 (unlicensed)

Dante Virtual Soundcard - 4.0.4.4

Dante Controller - 4.1.0.5

 

 

We recently set up a Wwise game-integration (as opposed to engine-integration) with UE4 with the intention of proving we could use Dante Virtual Soundcard to have discrete routing to multiple speaker channels via the ASIO plugin in Wwise.  We used the setup instructions at: https://www.audiokinetic.com/library/edge/?source=Help&id=wwise_asio_output_plug_in.

 

 

We created a ShareSet for the Wwise Channel Router as shown:

image.png

 

 

And then set up busses with the Mixer Plug-in as shown here (only 3 discrete channels, to test the output):

image.png

 

 

Next, we confirmed that the Audio Device was set appropriately in Audio Preferences:

image.png

 

 

We also added inclusions for the plugins in the project code to fix some other errors that immediately showed up:

in file: AkAudioDevice.cpp at lines 114/115

#include <AK/Plugin/ASIOSourceSinkFactory.h>

#include <AK/Plugin/AkRouterMixerFXFactory.h>

 

in file: AkAudio.Build.cs at lines 416/417

AddWwiseLib(Target, "ASIOSourceSink");

AddWwiseLib(Target, "AkRouterMixerFX");

 

 

And lastly, we set the WWISEASIODRV Environment Variable to each of the following permutations, with system restarts in between each adjustment:

Dante Virtual Soundcard (x64)

Dante Virtual Soundcard

"Dante Virtual Soundcard (x64)"

"Dante Virtual Soundcard"

ASIO - Dante Virtual Soundcard (x64)

image.png

following these instructions:

image.png

(text copied below)

Selecting an ASIO driver outside of Wwise authoring

To select an ASIO hardware device outside of the Wwise authoring tool, it is necessary to create a "WWISEASIODRV" environment variable with a value set to match the ASIO driver name specified for a master bus in the Hardware Devices group box of the Audio Preferences.

For example, with an ASIO Output Audio Device ShareSet named "ASIO_Output", if "ASIO_Output - Name of an ASIO Driver" is shown in the Hardware Device column, WWISEASIODRV must be set to a value of "Name of an ASIO Driver".

 

 

After generating soundbanks for Windows-platform in Wwise (redundant safety), then opening the Unreal Editor and also generating soundbanks, we get this error (three times):

image.png

(text copied below) 

LogAkAudio: Error: ASIO Output: Could not find driver with id = -1504029912: 0

LogAkAudio: Error: The Output Device specified by AddOutput() or Init() could not be initialized.

LogAkAudio: Reverting to Dummy Audio Device (no output).

 

The result is: The audio monitors correctly when played through Wwise alone (i.e. the channel 3 event meters on the expected channels), but it does not seem to function at all in Unreal.

 

NOTE: Regardless of what I set the value of the WWISEASIODRV Environmental Variable as, that driver ID number remains the same.

 

Any thoughts on what I may be missing or doing incorrectly?

 

Thanks!

General Discussion Joseph C. (100 포인트) 로 부터
Turns out, having an Oculus plugged in can cause this.  Beyond that, opening Unreal AFTER opening the Wwise project will spam an error related to SoundFrame.  Opening Unreal and then the Wwise project will prevent this error.  More info as I come across it.
Follow up:  It's important to note that for the Channel Router plugin to work, it needs to be set to Anonymous (I think 24 or 31 is fine, but have only tested 24).  Additionally, if UE4 is open, builds will not work.  It seems like the ASIO is kind of a "first come, first serve" situation.  But, in isolation (i.e. Just Wwise, just UE4, just the Build, or UE4 and THEN Wwise), everything works great!
Hi, How did you set the WWISEASIODRV Environment variable?

Update: The environment variable is set in Windows. Got to 'View Advanced System settings' in Windows Start > Environment Variables > New.

Make the variable name "WWISEASIODRV" and the value "Name of ASIO Device". No quote marks needed.

1 답변

0 투표
Hey Joseph.

I am trying to set up the ASIO plugin to output to ReaRoute (Reaper). I don't have any idea how this works. I can't see the pictures on this post. It looks like they were erased. If you happen to see this, could you help me out? my mail is pekena.larva@gmail.com. Many thanks in advance.
Gabriel G. (160 포인트) 로 부터
...