[No] $LPFRolloff for SNDINFO (Low Pass Filter rolloff)

Moderator: GZDoom Developers

$LPFRolloff for SNDINFO (Low Pass Filter rolloff)

Postby Zanieon » Thu Aug 06, 2015 7:03 am

I've been wondering if the version of FMOD that ZDoom uses (also OpenAL now) supports the Low Pass Filter, because if it does, would be nice to make use of it to give more depth in sounds, especially when used in conjunction with reverbs.

My intention about it is that adding a $LPFRolloff to SNDINFO which is possible to control where the Low Pass Filter starts and where is ends, or in case where it starts the cutoff and where it is full low frequencies only. I know this can be simulated by using two sounds, the main sound with all frequencies and another with only 100Hz, however this creates overbass ingame causing a unwanted effect but still using two sounds for such simple effect is kinda hacky and a waste of a mod's space.

I did this image to explain better what i mean when applying a LPF to a sound.

My thought on management:

If the LPF max radius is greater than the normal rolloff max radius nothing happen because the volume of the supposed sound is zero since it's out of the normal rolloff. (by logical sense this is a bit obvious and not be treated as a bug anyway)
If the LPF max radius is shorter than the normal rolloff then all the remaining space between the max radius of LPF and the max radius of normal rolloff applies total filtering.
By default LPF is unactive to any sound unless it's usage is properly defined by a SNDINFO to a sound (for better compatibility with vanilla feeling, so unless you apply a $LPFRolloff to a sound, nothing happens)
The LPF is subjected to the same Sound Curve defined in the $rolloff of the supposed sound
User avatar
A Tamer of The Dark
Joined: 13 Jan 2009
Location: Somewhere in the future
Discord: Zanieon#3177
Twitch ID: Zanieon
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest