Control random pitch variation

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Control random pitch variation

by Cutmanmike » Wed Aug 24, 2005 7:54 am

After all those threads I made I STILL don't know why it isn't working :(

by justin024 » Wed Aug 24, 2005 3:47 am

Sweet, I seem to have forgot about $pitchshiftrange since it's not currently in my sndinfo. Just checked SNDINFO in the wiki.

by Enjay » Mon Aug 22, 2005 8:21 am

I can't check the syntax ATM because I'm not at home, but I'm pretty sure there is already a pitchshift (or something like that) variable that can be set on a per-sound basis in sndinfo.

[edit]Just found this

http://forum.zdoom.org/potato.php?t=487 ... pitchshift

http://forum.zdoom.org/potato.php?t=218 ... pitchshift

http://forum.zdoom.org/potato.php?t=156 ... pitchshift

http://forum.zdoom.org/potato.php?t=941 ... pitchshift

[/edit]

Control random pitch variation

by justin024 » Mon Aug 22, 2005 7:30 am

Normally the random pitch thing is excellent, but there are exceptions. I have a siren sound effect that is played a few times in a row and being a different tone each time makes it sound weird. An optional integer could be added to the end of the ambient sound commands in ACS (for compatibility w/ old wads). If non-zero, the random pitch thing is disabled.

[local]ambientsound(str name, int volume, opt int random pitch off);

Top