Separate Ambient Sound Act with Square Perimeter/Radius

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Separate Ambient Sound Act with Square Perimeter/Radius

Postby XLightningStormL » Fri Jan 04, 2019 5:13 am

One of the biggest issues with ambient sounds is that there's no option for a "square" ambient sound, something that would allow for cleanly proportioning sounds accurately rather than dealing with the finnicky "circular" radius system.

Surely there shouldn't be too much of an issue, considering IIRC things like the Bridge actor use a square radius.

Example: Circular Radius ambient sounds are more finicky, and less precise, due to their nature (being circles) which can cause either audio bleed out, or "deaf-spots" in the ambient sound distribution. Separate Square Ambient Sound actors allow for the original ambient sounds to remain untouched, whilst allowing for more flexibility, and precise ambient sound distribution for level designers.

Proposal: New "Custom Ambient Sound" Actor using a Square-radius instead of a circular one.
Benefits: Cleaner use of ambient sounds preventing area-sound leak/"deafspots". Mood sound effects are a lot easier. Less ACS work.
Issues: Engine may not support it enough; too much work for developers (and not worth the risk)
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby Caligari87 » Fri Jan 04, 2019 9:30 am

While your suggestion is worthwhile, I'd like to point out that all objects in Doom have a square "radius" and the physics engine has absolutely nothing to do with the sound engine, and so shouldn't be used as an indicator of how difficult the feature implementation will be.

This wouldn't be a new "thing" either, I don't think. The more flexible solution would be additional falloff / attenuation formulas in SNDINFO that can be defined per-sound.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby Rachael » Fri Jan 04, 2019 11:24 am

Yeah Cali is right - the sound and physics have nothing to do with each other at all. Sound is even handled by a library which does falloff and positioning on its own - so I have no idea how tenable an idea such as this would be. It ultimately would be up to someone who is very familiar with the OpenAL system to do this.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby Chris » Fri Jan 04, 2019 7:59 pm

For "area" sounds that get a radius, the higher level engine is responsible for keeping the sound on the listener/player position when within the area, whatever the shape of that area is. When you leave the area, it places the sound at the closest point to the listener. That's how it works for sector sounds, like lifts and such. On top of that, OpenAL Soft applies a volumetric radius property for area sounds, to give the perception of a bit more "depth" (it's a cheap trick for a single sound input, but somewhat effective in lieu of separating the original sound's components and spacing them out around the desired area).
User avatar
Chris
 
Joined: 17 Jul 2003

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby XLightningStormL » Tue Jan 08, 2019 12:03 am

Expansion of the proposal:

Allow that it also doesn't have that "player is facing towards it" effect, or at least replace the distance multiplier for the "Square 'radius' Mood Sound Object" with an option to disable that.

I'm not interesting in the argument for why that "shouldn't exist" because muh realism or whatever (we're talking about a sourceport for a game where a Polish Catholic 20-something year old virgin beat his CO into a fullbody cast, survived a demon invasion (whilst also entirely destroying the demons), got blessed by the Angel of Death, and a free power armoured suit from a demon traitor (or at the least blessed a UAC power armoured suit to absorb demon magicka energy) and hasn't died yet) Plus the circular ambient sound object already full-fills that effect.
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby Rachael » Tue Jan 08, 2019 1:45 am

XLightningStormL wrote:I'm not interesting in the argument for why that "shouldn't exist" because muh realism or whatever (we're talking about a sourceport for a game where a Polish Catholic 20-something year old virgin beat his CO into a fullbody cast, survived a demon invasion (whilst also entirely destroying the demons), got blessed by the Angel of Death, and a free power armoured suit from a demon traitor (or at the least blessed a UAC power armoured suit to absorb demon magicka energy) and hasn't died yet) Plus the circular ambient sound object already full-fills that effect.

Uh... what?

No one was making an argument about realism or whatever. Also - I hate to burst your bubble, but you did not describe the canonical DoomGuy - the character was intentionally left open-ended for a reason, and it's been specifically stated by one of the developers that DoomGuy is supposed to be "you" (i.e. the player in front of the keyboard). If imagining him this way makes you enjoy the game more - more power to you.

If this was an attempt on your part to troll, then consider yourself warned.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: Separate Ambient Sound Act with Square Perimeter/Radius

Postby Jaxxoon R » Tue Jan 08, 2019 3:28 am

They're all details either added in later games or by an old Carmack interview.
User avatar
Jaxxoon R
 
Joined: 04 May 2014


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest