| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="AudioEffectLimiter" inherits="AudioEffect" deprecated="Use [AudioEffectHardLimiter] instead." xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Adds a soft-clip limiter audio effect to an Audio bus. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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. |
| 8 | 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. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | <link title="Audio buses">$DOCS_URL/tutorials/audio/audio_buses.html</link> |
| 12 | </tutorials> |
| 13 | <members> |
| 14 | <member name="ceiling_db" type="float" setter="set_ceiling_db" getter="get_ceiling_db" default="-0.1"> |
| 15 | The waveform's maximum allowed value, in decibels. Value can range from -20 to -0.1. |
| 16 | </member> |
| 17 | <member name="soft_clip_db" type="float" setter="set_soft_clip_db" getter="get_soft_clip_db" default="2.0"> |
| 18 | Applies a gain to the limited waves, in decibels. Value can range from 0 to 6. |
| 19 | </member> |
| 20 | <member name="soft_clip_ratio" type="float" setter="set_soft_clip_ratio" getter="get_soft_clip_ratio" default="10.0"> |
| 21 | </member> |
| 22 | <member name="threshold_db" type="float" setter="set_threshold_db" getter="get_threshold_db" default="0.0"> |
| 23 | Threshold from which the limiter begins to be active, in decibels. Value can range from -30 to 0. |
| 24 | </member> |
| 25 | </members> |
| 26 | </class> |