Changing Sound Pitch?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
adeon
Posts: 75
Joined: Tue Mar 03, 2009 7:33 am

Changing Sound Pitch?

Post 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.
Geometer
Posts: 52
Joined: Wed Jan 14, 2009 8:30 am
Location: Russia, Saint-Petersburg

Re: Changing Sound Pitch?

Post 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.
Locked

Return to “Editing (Archive)”