Available since LÖVE 11.0
This function is not supported in earlier versions.
Applies an audio effect to the Source.
The effect must have been previously defined using love.audio.setEffect.
Applies the given previously defined effect to this Source.
success = Source:setEffect( name, enable )
string nameboolean enable (true)boolean successApplies the given previously defined effect to this Source, and applies a filter to the Source which affects the sound fed into the effect.
success = Source:setEffect( name, filtersettings )
string nametable filtersettingsFilterType typenumber volumenumber highgainnumber lowgainboolean successAudio effect functionality is not supported on iOS.
© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:setEffect