Community Q&A

Where Wwise users help each other out!

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

Changing tempo in game without using playback speed?

+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!

asked Jun 19, 2018 in Feature Requests by Victor L. (120 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.
answered Oct 31, 2018 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