Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Sound Filtering #13

Open
MSamman opened this issue Feb 14, 2022 · 3 comments
Open

Advanced Sound Filtering #13

MSamman opened this issue Feb 14, 2022 · 3 comments

Comments

@MSamman
Copy link

MSamman commented Feb 14, 2022

This is beyond what is currently being done, but I was thinking a potential direction for this project could be to use the game integration hooks to enable a band pass filter on the CS audio stream that can attenuate high frequencies. Another option to clip volumes that exceed a certain threshold altogether. I envision this is a lot more work, but wanted to bring it up as an idea.

Either way, this would entail a transformation on the actual audio stream. My VERY rudimentary research has put me onto using Windows Audio Processing Objects which I believe is something along the lines of what may be needed.

Wanted to bring up this idea and see what your thoughts are.

@MSamman MSamman changed the title Filter Sound By Frequency Advanced Sound Filtering Feb 14, 2022
@itouchdennis
Copy link

Funny, I thought the same and commented on reddit yesterday:
https://www.reddit.com/r/GlobalOffensive/comments/se7m45/comment/hwyghht/?utm_source=share&utm_medium=web2x&context=3

I guess if it's possible to inject a inverted audiofile while the original flashbang high frequency tone will be played, this would filter the entire sound off and everything else should be hearable.

if the soundfiles not matches the same volume, it will still reduce the volume of the sound (this could be an additional option in the settings.txt)

Just some thoughts, don't know how complicated this will be, or not.

@MSamman
Copy link
Author

MSamman commented Feb 15, 2022

That is an interesting idea and would probably be easier to implement then what I had suggested.

@itouchdennis
Copy link

That's a "simple trick" in music / audio engineering to filter sounds.
E.g. if you got a music track with vocals and the beat without vocals - and you want to have only the vocals as a single file, you could invert the beat without the vocals and play both tracks at the same time - you will only hear the difference between the to tracks, which are the vocals.

If same would be possible for the annoying tinitus triggering sounds in CS - this would be a huge thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants