perun

Hi,

is there direct way to change pitch of all (or group) of playing sounds
I want to implement slow motion effect and need to do some pitch shifting to sychronize sound to time speed.

I noticed that in XACT one is able to shift pitch only about one octave up/down what could be not enough to such applications :/


Thanks for any reply.


Re: Game Technologies: Audio / XACT how change pitch of playing sound?

perun

I use RPC and global variable to change pitch but maybe there is a way to change it from code




Re: Game Technologies: Audio / XACT how change pitch of playing sound?

Strakian

As far as I know the only way to do this is to set it up in the XACT Creation tool. Inside your soundbank, select a sound. On the right hand side there is a "Track01" and under it a "Play Wave" if you've attached a sound from the wave bank. Select the "Play Wave" and then look at the properties on the left side of the screen. One of these options is call "Level Variations". From here you can make the pitch and the volume vary between ranges you then specify, and when to change it.

Hope that helps.




Re: Game Technologies: Audio / XACT how change pitch of playing sound?

Robert Heitkamp - Microsoft

There is currently no way to programatically set the pitch of an entire group of sounds like you can with volume (via category volume). You can work around this by doing what perun suggests:

Create an RPC tied to a sound's pitch using a global variable.
Assign the RPC to the sounds you want to modify (potentially all of them).
Tweak the variable at run-time.






Re: Game Technologies: Audio / XACT how change pitch of playing sound?

AnotherDayAnotherSegFault

I guess this can only be done pre-play - not during Sad

shame...

would love the facility to adjust a playbacks frequency mid-play...

any plans to do this at MS for pro version

cheers,

seggie





Re: Game Technologies: Audio / XACT how change pitch of playing sound?

AnotherDayAnotherSegFault

Many thanks Robert.

This is indeed what I needed and it does indeed change the frequency in real time.

doh!

could you tell me if the BPM facility for markers (when fixed) will be linked to the playback frequency...

I.E. when I slow down the sound the interval to the next marker will be delayed the relevant amount

because I am trying to calculate bpms by hand at the minute on varying speed files (and it's a headache or I'm thick...)

Cheers Robert.





Re: Game Technologies: Audio / XACT how change pitch of playing sound?

Scott Morgan

Nope. Sorry to say the BPM feature does not sync to the pitch. It stays literal.