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.

+1 vote
Is there a way to map tempo to RTPC or directly setting up an event that changes tempo of music?

I have a project that all the music are from MIDI because I want to change tempo dynamically. However, I don't want to change tempo continuously like mapping the playback speed. I want to have the tempo locked to some increments. For example, if I do something in the game, the tempo becomes 120, then another event changes the tempo to 130, another to 110 etc.

It looks like currently tempo can only be fixed in Wwise, and after building into sound banks, there is no way to map it to anything like an RTPC, switch or state. It would be cool if the tempo can be changed dynamically!

Thanks
in Feature Requests by Victor L. (310 points)

1 Answer

0 votes
I may be wrong in my math here, but you could consider the bpm increments as percentile increases.

If the default track you have has a bpm of 130, and you want to raise it to a bpm of 140, then your tracks speed goes from 100% to 140/130 = 107.69%.

Use this value for the playback modification and you should be good to go.
by William B. (220 points)
This would also change the pitch of any audio samples though (By quite a lot... 7% is over a semitone difference) If its a mixture of midi an audio it wouldnt work I dont think
Wwise time stretch is able to increase the playback speed of tracks without distorting the tone.
Additionally, the simple RTCP playback speed parameter doesn't affect the pitch as far as I can tell.
If you change the play back speed of an audio file it will absolutely change the pitch. For example if you played back a C piano note recording at half speed it will drop it an Octave.

If you change the playback speed of a midi file it effectively just changes the tempo as all its doing is triggering another source
...