> For the complete documentation index, see [llms.txt](https://supermax-8.gitbook.io/boostedaudio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://supermax-8.gitbook.io/boostedaudio/basics/music-sfx.md).

# Music/SFX

You can add musics on you server with an edition gui **/ba edit**

To add music from autohost, put you audio files in plugins/BoostedAudio/webhost/audio\
And when you need to put audio link in plugin you can directly put as link:\
\&#xNAN;***audio/audioFile.wav***\
\
You can create many subfolders as you want in the audio dir to organize your audios

\
You can use **radio audio stream** as link it works great with both speaker and region

Region music system works with priority, so you can have one region in another region with audio, the biggest priority will override, if same priority the both region audio will be played

![](/files/GZXk6FKAx73nbs6XNDHf)

<div align="left"><figure><img src="/files/COCmH5lFF6CFrlKnOPOq" alt="" width="375"><figcaption></figcaption></figure></div>

![](/files/a5IhuOkubMMgJYxkTfcs)

**Parameters explaination:**

<pre class="language-yaml"><code class="lang-yaml">links # The audio urls

synchronous # If the audio will be synced between player

fadeIn / fadeOut # The duration in ms of the fade effect

loop # If the audio play once, of it it's loop
<strong>
</strong><strong>maxVoiceDistance # The max distance a thing could be heard, used to calculate redDistance when not specified
</strong>
distanceModel # The calculation model for the distance volume attenuation, linear, inverse, exponential

refDistance # This property defines the distance from which the sound begins to attenuate

rolloffFactor # This property controls how quickly the sound attenuates as distance increases
</code></pre>
