menu
 

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

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

1 답변

0 투표
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.
damon i. (890 포인트) 로 부터
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.
...