Specify sounds to exclude from random pitches?

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: Specify sounds to exclude from random pitches?

Re: Specify sounds to exclude from random pitches?

by De-M-oN » Wed Sep 19, 2018 10:12 am

Enjay wrote:I guess the obvious way is to pitch shift a sound in a sound editor then save a bunch of shifted files and use $random in SNDINFO. Clearly not a very efficient solution compared to a couple of lines of text in a control lump of some sort though.
And reduces quality if you recompress lossy to lossy format.

Re: Specify sounds to exclude from random pitches?

by kodi » Fri Sep 14, 2018 1:29 pm

A tempo argument would be absolutely amazing too

Re: Specify sounds to exclude from random pitches?

by Xaser » Fri Sep 14, 2018 12:54 pm

Marisa Kirisame wrote:Or at least a way to set pitch when playing sounds from scripting
That'd rock, TBH. A parameter to A_PlaySound that just always works regardless of the setting, since then we can just frandom it up and get results on demand, without introducing any compatibility cruft to the old way of doing things.

Re: Specify sounds to exclude from random pitches?

by Enjay » Fri Sep 14, 2018 12:24 pm

I guess the obvious way is to pitch shift a sound in a sound editor then save a bunch of shifted files and use $random in SNDINFO. Clearly not a very efficient solution compared to a couple of lines of text in a control lump of some sort though.

Re: Specify sounds to exclude from random pitches?

by Marisa the Magician » Fri Sep 14, 2018 7:22 am

Or at least a way to set pitch when playing sounds from scripting

Re: Specify sounds to exclude from random pitches?

by Xaser » Thu Sep 13, 2018 8:53 am

Quasi-related: I've never considered pitch shifting to be a usable modding feature because users have to switch on a setting for it to work (which they won't).

A "yes I know what I'm doing; this isn't the default weirdo Doom pitch shifting" override would be handy, but then we're dealing with overrides-of-overrides again. :P

Re: Specify sounds to exclude from random pitches?

by Enjay » Thu Sep 13, 2018 8:14 am

You mean force certain sounds to be pitch-shifted even when shifting is disabled?

Re: Specify sounds to exclude from random pitches?

by Marisa the Magician » Thu Sep 13, 2018 7:54 am

I wish we could get the opposite of this, though.

Re: Specify sounds to exclude from random pitches?

by Enjay » Wed Sep 12, 2018 11:14 am

$pitchshiftrange 0 in [wiki]SNDINFO[/wiki]

Specify sounds to exclude from random pitches?

by rchrdcrg » Wed Sep 12, 2018 4:52 am

I noticed something and thought I might make a small feature suggestion for modders. I tend to prefer the randomized pitches sound option turned on so my ears don't get quite as bored, but in some instances things don't sound right, such as the spinning chain gun barrel in Brutal Doom, where each loop of the effect comes in at a different pitch and ruins the seamlessness of the sound loop. I was curious if there could be a way to exclude specific sounds from the randomized pitch function (as well as the inverse and forcing a sample to play back with randomized pitch). That way, the users could flip that setting however they like, and the modders can ensure the user isn't getting a wonky experience due to the user's preference in settings.

Thanks!

Top