커뮤니티 Q&A

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

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

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

0 투표
I just started using WWise.

How do I reverse the playback direction?
 
I'm creating a virtual Tape Recorder for a Game and I need this to implement rewind, backwards playback and scrubbing.
General Discussion Milan G. (190 포인트) 로 부터
수정 Bernard R. (Audiokinetic) 로 부터

2 답변

0 투표
Hi Milan,

Wwise doesn't support playing sounds backward. You may want to produce and import a reverse version of these audio files and crossfade between forward and backward at runtime.

Also, from the SDK documentation, check for "GetSourcePlayPosition" and "Seek". That will probably helpful to implement your Tape Recorder.

Hope this helps,

Simon
Simon A. (Audiokinetic) (3.6k 포인트) 로 부터
Hey Simon.
Thanks.

The Tape recorder is supposed to record the output of the Master Bus of the Game.
Then it should instantly be possible to scrub through the recording, or rewind it.

I guess the recording part is doable with AK::SoundEngine::StartOutputCapture()...

However, since it's not possible to play backwards, after each recording, i would have to generate a reversed version of the newly recorded file and wait for the conversion to finish before i am able to scrub and rewind ?

Would that be the way to go, or can you think of a better way to achieve the desired effect?

Cheers,
Milan
> i would have to generate a reversed version of the newly recorded file and wait for the conversion to finish before i am able to scrub and rewind ?

That could work, but would be far from ideal.  You will end up with  performance issues when reversing the recorded output.
is possible to play a sound backwards?
0 투표

I suggest you implement new Wwise Effect inserted at the master bus level (see AkDelay in samples for an example).  This would be your Tape Recorder.

  • During normal playback, the effect records the audio coming in
  • When activating the reverse mode, the effect stop recording and rewind the audio

Please note this will require considerable amount of memory for recording the audio.

 

 

Bernard R. (Audiokinetic) (35.8k 포인트) 로 부터
Could you elaborate?
Do you mean, writing my own plugin that does what i need?
I wouldn't be able to do that.
yes, you would need to write your own plug-in for that.  This requires C++ and signal processing knowledge.
Hi Bernard is possible to play a sound backwards from Unity using de SDK or API something like AkSoundEngine.pitch = -1;
...