Pitchshift command in SNDINFO

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
DoomerMrT
Posts: 370
Joined: Tue Nov 21, 2006 10:58 am
Location: Budapest,Hungary

Pitchshift command in SNDINFO

Post by DoomerMrT »

Perhaps I misunderstand something but this command doesn't seem to work for me.

Code: Select all

$pitchshift soundname <range>

My code:

Code: Select all

$pitchshift svt40fir 7
User avatar
Enjay
 
 
Posts: 27298
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

I think that should work, provided that svt40fir is the SNDINFO "friendly name" rather than the lump name.
User avatar
Zippy
Posts: 3302
Joined: Wed Mar 23, 2005 5:31 pm
Location: New Jersey

Post by Zippy »

Also, if I remembering correctly, $pitchshift doesn't shift the pitch of the sound explicitly. What it does is provide the range the sound may be shifted if the player has pitch shifted sounds on. So, providing 7 for the sound $pitchshift will mean that if the player has pitch shifted sounds on, they will hear the widest variations of the noise, from normal to maximum pitchshift. Providing $pitchshift 0 for the sound means that even with pitch shifting sounds on, you will never hear that sound in a shifted pitch.

That might not be exactly it, but I think that's how it works.
User avatar
DoomerMrT
Posts: 370
Joined: Tue Nov 21, 2006 10:58 am
Location: Budapest,Hungary

Post by DoomerMrT »

That is the way how it's working.Thanks Zippy :)
Locked

Return to “Editing (Archive)”