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
I'm trying to create an application in which the tempo can be modified by the input of the player. I've been looking at AkSegmentInfo to retrieve information about bar length as I think it would be useful, but I'm having a hard time dealing with types in wwise.

I'd like to create an AkPlayerId variable, or a AkSegmentInfo variable but I don't know how, and browsing through the documentation doesn't really tell me anything.

How can I access these values and use them in a script in unity?
in General Discussion by William B. (240 points)

1 Answer

0 votes
Maybe not what you're after, but as a workaround can you set the playback speed of a music segment via a RTPC ? If you need to work in whole BPM its just a bit of maths in terms of the percentage.
by damon i. (890 points)
Thanks for the answer!

For the sake of prototyping I want to do the following:

I want to have the player input a button at a 4/4 rhythm. Then by comparing their input to the bpm of a track playing in the background, we slow down or speed up the track depending on user inputs. So in order to generalize this to multiple tracks, I want to be able to extract the data from a track, like bar length and stuff.

I already have an RTCP set up to increase and decrease the speed, but now it's about using the input of the user and comparing it to the bpm of a track.
...