2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name= "AudioEffectLimiter" inherits= "AudioEffect" category= "Core" version= "3.0.alpha.custom_build" >
<brief_description >
2017-09-17 00:47:19 +08:00
Adds a soft clip Limiter audio effect to an Audio bus.
2017-09-13 04:42:36 +08:00
</brief_description>
<description >
2017-09-17 00:47:19 +08:00
A limiter is similar to a compressor, but it’ s less flexible and designed to disallow sound going over a given dB threshold. Adding one in the Master Bus is always recommended to reduce the effects of clipping.
Soft clipping starts to reduce the peaks a little below the threshold level and progressively increases its effect as the input level increases such that the threshold is never exceeded.
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "get_ceiling_db" qualifiers= "const" >
<return type= "float" >
</return>
<description >
</description>
</method>
<method name= "get_soft_clip_db" qualifiers= "const" >
<return type= "float" >
</return>
<description >
</description>
</method>
<method name= "get_soft_clip_ratio" qualifiers= "const" >
<return type= "float" >
</return>
<description >
</description>
</method>
<method name= "get_threshold_db" qualifiers= "const" >
<return type= "float" >
</return>
<description >
</description>
</method>
<method name= "set_ceiling_db" >
<return type= "void" >
</return>
<argument index= "0" name= "ceiling" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_soft_clip_db" >
<return type= "void" >
</return>
<argument index= "0" name= "soft_clip" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_soft_clip_ratio" >
<return type= "void" >
</return>
<argument index= "0" name= "soft_clip" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_threshold_db" >
<return type= "void" >
</return>
<argument index= "0" name= "threshold" type= "float" >
</argument>
<description >
</description>
</method>
</methods>
<members >
2017-09-13 14:49:40 +08:00
<member name= "ceiling_db" type= "float" setter= "set_ceiling_db" getter= "get_ceiling_db" >
2017-09-17 00:47:19 +08:00
The waveform's maximum allowed value. Value can range from -20 to -0.1. Default value: [code]-0.1dB[/code].
2017-09-13 04:42:36 +08:00
</member>
2017-09-13 14:49:40 +08:00
<member name= "soft_clip_db" type= "float" setter= "set_soft_clip_db" getter= "get_soft_clip_db" >
2017-09-17 00:47:19 +08:00
Applies a gain to the limited waves. Value can range from 0 to 6. Default value: [code]2dB[/code].
2017-09-13 04:42:36 +08:00
</member>
2017-09-13 14:49:40 +08:00
<member name= "soft_clip_ratio" type= "float" setter= "set_soft_clip_ratio" getter= "get_soft_clip_ratio" >
2017-09-13 04:42:36 +08:00
</member>
2017-09-13 14:49:40 +08:00
<member name= "threshold_db" type= "float" setter= "set_threshold_db" getter= "get_threshold_db" >
2017-09-17 00:47:19 +08:00
Threshold from which the limiter begins to be active. Value can range from -30 to 0. Default value: [code]0dB[/code].
2017-09-13 04:42:36 +08:00
</member>
</members>
<constants >
</constants>
</class>