# 背景音樂 (BGM)

若想為 3D 場景增加背景音樂 (BGM)，可從 Virsody 的「預設音樂庫」中挑選背景音樂，也可自行[上傳音樂](/virsody-guide/zi-you-bian-ji-mo-shi/wu-jian-jie-ceng-hierarchy/bei-jing-yin-le-bgm/shang-chuan-yin-le.md)。

<figure><img src="/files/9HqLcC9zved1q3cxghlv" alt=""><figcaption></figcaption></figure>

先點擊左上方的「音符」圖示，再點擊右側「Select」按鈕。

<figure><img src="/files/3PKP9M3wmVCWMdp5dcyz" alt=""><figcaption></figcaption></figure>

出現 BGM Library 彈窗後，再點擊 <mark style="color:blue;">**預設音樂庫 (Preset)**</mark> 的分頁，並選擇想要的音樂。

<figure><img src="/files/RjV4d4o0s8HeokIivPNg" alt=""><figcaption></figcaption></figure>

選擇完音樂後，再點擊右下的「Select」按鈕，右側便會顯示選擇成功的背景音樂。

<figure><img src="/files/UTOL8i2x14ZmP0BfHvT8" alt=""><figcaption></figcaption></figure>

選擇完畢後，記得要打開「Action」才能在場景播放！\
若希望背景音樂能循環播放，則可打開「Loop」的開關。

<figure><img src="/files/cAyhRUkGsRMPmDkXOnI6" alt=""><figcaption></figcaption></figure>

也可以透過點擊上方的圖示來「刪除、更換」已選擇的背景音樂。

<figure><img src="/files/616sRmTmD8NvwSMtW3ur" alt=""><figcaption></figcaption></figure>

若想要確認背景音樂播放的效果，則可點擊右上的 <mark style="color:blue;">**預覽 (Preview)**</mark> 的圖示。

<figure><img src="/files/JgcaJIqwy6Q86uEjG6sT" alt=""><figcaption></figcaption></figure>

進入預覽模式後，即可在場景中聽見所選擇的背景音樂。而右上會顯示「背景音樂播放」的按鈕，點擊則可 <mark style="color:blue;">**開 / 關**</mark> 背景音樂。

<figure><img src="/files/xc0iIZ2LI9NsSqdBN4NM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hei-dong-chuang-zao.gitbook.io/virsody-guide/zi-you-bian-ji-mo-shi/wu-jian-jie-ceng-hierarchy/bei-jing-yin-le-bgm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
