{{newin|[[11.0]]|110|type=function}}
Gets the filter settings associated to a specific effect.

This function returns nil if the effect was applied with no filter settings associated to it.

== Function ==
=== Synopsis ===
<source lang="lua">
filtersettings = Source:getEffect( name, filtersettings )
</source>
=== Arguments ===
{{param|string|name|The name of the effect.}}
{{param|table|filtersettings ({})|An optional empty table that will be filled with the filter settings.}}
=== Returns ===
{{param|table|filtersettings|The settings for the filter associated to this effect, or nil if the effect is not present in this Source or has no filter associated. The table has the following fields:}}
{{subparam|number|volume|The overall volume of the audio.}}
{{subparam|number|highgain|Volume of high-frequency audio. Only applies to low-pass and band-pass filters.}}
{{subparam|number|lowgain|Volume of low-frequency audio. Only applies to high-pass and band-pass filters.}}

== See Also ==
* [[parent::Source]]
* [[Source:setEffect]]
* [[love.audio.setEffect]]

== Other Languages ==
{{i18n|Source:setEffect}}

[[Category:Functions]]
{{#set:Description=Retrieve filter settings associated to a specific effect.}}