コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

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.
Milan G. (190 ポイント) General Discussion
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.
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;
...