Page 1 of 1

Muffled Audio?

Posted: Sun Dec 17, 2017 3:12 am
by xand
Hey there!
In one of the test projects I'd like to finish Id like an audio effect where the audio goes muffled when the player walks into a room. I would like it to be similar to how music and environment audio in many games gets muffled when a player goes underwater.

Is this possible in Love2D? I'm not very savvy in the area of audio, so any help is appreciated.
Thanks!
-Eric

Re: Muffled Audio?

Posted: Sun Dec 17, 2017 6:10 am
by xNick1
I read Love's 0.11 changelog. The devs added some audio effects.
The release is focused on audio for the most part.
Unfortunately it isn't out yet.
Maybe you can try experimenting with it since it should come out soon (especially if you're starting a new project)

Changes from 0.10.2:

Added low gain, high gain, and band pass Filters to love.audio Sources.
Added audio Effect APIs (reverb, echo, etc.)
Etc...
https://love2d.org/wiki/0.11.0

Re: Muffled Audio?

Posted: Sun Dec 17, 2017 1:30 pm
by s-ol
The effect you are looking for is a Low-pass filter (LP) that let's the deep sounds through.