Page 1 of 1

Changing Sound Pitch?

Posted: Mon Apr 20, 2009 11:33 am
by adeon
Hello, guys!
Since I know ZDoom/GZDoom makes a cool sound reverb underwater, I was wondering: does it support changing the pitch of a sound?
If yes, is it possible to change the sound's pitch while it's already playing?
Thank you.

Re: Changing Sound Pitch?

Posted: Mon Apr 20, 2009 12:43 pm
by Geometer
There are few SNDINFO directives, that controls sound pitch:
wiki wrote: $pitchshift soundname <range>
Specifies how much the pitch of the specified sound may be randomly altered when it is played. <range> may be in the range of 0 to 7.

$pitchshiftrange <range>
Sets a default pitch shift value that is applied to all subsequent sound definitions.