Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes

For a project that I'm currently working on, we need to give users the ability to scrub a timeline of up to 20 minutes, having the dialog pick up exactly where they drop the playhead. It's effectively a linear piece that I'd like to play/pause whenever the user grabs the playhead, and resume correctly wherever they choose to drop it. Is there any way within the Wwise editor, or any way with the API to identify the length of an audio file, and be able to sync that to a slider? The closest idea I've had so far, is using an RTPC (measured in intervals of 10ms?) to control an Initial Delay each time the VO is played, but that seems a little clunky. 

 Any leads are hugely appreciated!

in General Discussion by Ben G. (100 points)

1 Answer

0 votes
Hi Ben,

You can register to receive a duration callback which will tell you how long in milliseconds the file is. You can also pause and resume the file from the API as well as seek to any point in the file ( note that compressed file formats may be subject to seek tables ).

I would avoid using an RTPC to interact with initial delay for this problem.

Best,

Dan Murray
by Dan M. (2.6k points)
...