Changing Sound Pitch?

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Changing Sound Pitch?

Postby adeon » Mon Apr 20, 2009 12:33 pm

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.
User avatar
adeon
 
Joined: 03 Mar 2009

Re: Changing Sound Pitch?

Postby Geometer » Mon Apr 20, 2009 1:43 pm

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.
Geometer
 
Joined: 14 Jan 2009
Location: Russia, Saint-Petersburg


Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 2 guests