ID:2906768
 
Not a bug
BYOND Version:515.1623
Operating System:Windows 11 Home 64-bit
Web Browser:Firefox 121.0
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.

I am reposting this bug, since the previous report was erroneously flagged as resolved.


Descriptive Problem Summary:

3D audio played in a channel simultaneously with non-3D audio playing in another channel, will apply the 3D audio's environmental EQ to the non-3D audio channel.


Test case is available here.
The instructions to reproduce the bug are provided in the test case.


Expected Results:
non-3D audio to remain non-3D without having altered EQ settings.

Actual Results:
the opposite of the above.

Workarounds:
None that i'm aware of.
bump
Lummox JR resolved issue (Not a bug)
So it turns out this isn't a bug, or at least not one I can fix at present. The environment is global. There's some documentation as to the idea of there being multiple environment "instances", but no indication as to how to specifically use a different instance from the default.

The main issue of the environment not resetting however was already fixed.
Per sound you can probably recreate environment settings with sound.echo

They both do similar thing, but only sound.environment has presets. There is this my old feature request https://www.byond.com/forum/post/2477331
Actually i remember there is another workaround (or a bug?) from tg-station code - for all non-environment sounds room environment should be used (S.environment = 2)