Skip to content

Commit

Permalink
Merge pull request #9401 from skyace65/HardLimiter
Browse files Browse the repository at this point in the history
Document HardLimiter audio bus effect
  • Loading branch information
mhilbrunner authored May 20, 2024
2 parents 83a98d8 + 6122e64 commit eb104c0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tutorials/audio/audio_buses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Adding effects
Audio buses can contain all sorts of effects. These effects modify the sound in
one way or another and are applied in order.

.. image:: img/audio_buses4.png
.. image:: img/audio_buses4.webp

For information on what each effect does, see :ref:`doc_audio_effects`.

Expand Down
21 changes: 17 additions & 4 deletions tutorials/audio/audio_effects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Audio effects
Godot includes several audio effects that can be added to an audio bus to
alter every sound file that goes through that bus.

.. image:: img/audio_buses4.png
.. image:: img/audio_buses4.webp

Try them all out to get a sense of how they alter sound. Here follows a short
description of the available effects:
Expand Down Expand Up @@ -123,6 +123,13 @@ Filter

Filter is what all other filters inherit from and should not be used directly.

HardLimiter
~~~~~~~~~~~

A limiter is similar to a compressor, but it's less flexible and designed to
prevent a signal's amplitude exceeding a given dB threshold. Adding a limiter to the final point of
the Master bus is good practice, as it offers an easy safeguard against clipping.

HighPassFilter
~~~~~~~~~~~~~~

Expand All @@ -140,9 +147,15 @@ Reduces all frequencies above a specific *Cutoff* frequency.
Limiter
~~~~~~~

A limiter is similar to a compressor, but it's less flexible and designed to
prevent a signal's amplitude exceeding a given dB threshold. Adding a limiter to the final point of
the Master bus is good practice, as it offers an easy safeguard against clipping.
This is the old limiter effect, and it is recommended to use the new HardLimiter
effect instead.

Here is an example of how this effect works, if the ceiling is set to -12 dB, and the
threshold is 0 dB, all samples going through get reduced by 12dB. This changes the
waveform of the sound and introduces distortion.

This effect is being kept to preserve compatibility, however it should be considered
deprecated.

LowPassFilter
~~~~~~~~~~~~~
Expand Down
Binary file removed tutorials/audio/img/audio_buses4.png
Binary file not shown.
Binary file added tutorials/audio/img/audio_buses4.webp
Binary file not shown.

0 comments on commit eb104c0

Please sign in to comment.