Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Using types in wwise

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?
asked Nov 2, 2018 in General Discussion by William B. (220 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.
answered Nov 8, 2018 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.
...