> For the complete documentation index, see [llms.txt](https://mr-mezzo.gitbook.io/mezzos-railroad-blocks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mr-mezzo.gitbook.io/mezzos-railroad-blocks/custom-elements/custom-railroad-barriers/creating-custom-sonds.md).

# Creating custom sonds

## Adding custom sounds

You can add custom sounds to your barrier. There are 2 different options:

{% tabs %}
{% tab title="Custom engine sound" %}
You can upload up to 2 custom engine sounds. One for opening, one for closing or one sound for opening and closing.

⚠️ The sound should be exactly as long as the animation.
{% endtab %}

{% tab title="Custom animation sound" %}
You can add 1 custom animation sound. ⚠️ This sound must be loopable.\
When submitting, just click on the animationparts when the sound should play. There are 4 available animationparts as you know. Close, Open, OpenIdle and OpenClose.

This sound will play while the animation is active.

The loopable sound should have a maximal lengh of 7 seconds.
{% endtab %}
{% endtabs %}

{% hint style="info" %}
All custom sounds need to be uploaded in .ogg format and mono audio. I recommend using Audacity for creating and exporting the sound.  [Audacity here](https://www.audacityteam.org/)
{% endhint %}
