menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

+1 투표
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
Feature Requests Victor L. (310 포인트) 로 부터

1 답변

0 투표
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.
William B. (220 포인트) 로 부터
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
...