> For the complete documentation index, see [llms.txt](https://docs.acestudio.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acestudio.ai/docs/product-wiki-zh/ai-gong-ju/sound-generator.md).

# 音效生成器

在 ACE Studio 中根据文本提示和参考音频生成音效、环境氛围和纹理。

## 什么是音效生成器

音效生成器可根据文字描述生成音效、环境音和纹理。您可以在两个模型之间选择，添加参考音频来引导结果，生成的声音会作为音频片段放置到画布上。

{% hint style="info" %}
音效生成器取代了早期版本中的音效工具。
{% endhint %}

## 如何使用音效生成器

<figure><img src="https://1816898227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsn71WYzecYYQw3KkF40b%2Fuploads%2Fgit-blob-915fe6a462b54bb9cd05279953eb456a2ef9c951%2Fsound-generator.png?alt=media" alt="The Sound Generator panel."><figcaption></figcaption></figure>

音效生成器基于时间选区工作。该选区决定声音插入的位置以及其时长。

1. 在画布上单击并拖拽即可创建时间选区。
2. 点击 <i class="fa-burst">:burst:</i> **音效生成器** 图标。如果没有选中任何内容，ACE Studio 会先要求您选择要生成的位置。
3. 选择一个模型。
4. 描述您想要的声音，或点击一个示例从此开始。
5. 如有需要，可添加参考音频（仅限 SeedAudio 1.0）。
6. 点击 <kbd>生成</kbd>。新的音频片段会插入到选区起始处。

### 选择模型

从旁边的菜单中选择一个模型 <kbd>生成</kbd>.

<table><thead><tr><th width="200"></th><th>SeedAudio 1.0</th><th>ElevenLabs</th></tr></thead><tbody><tr><td>选区长度</td><td>1 – 120 秒</td><td>0.5 – 30 秒</td></tr><tr><td>参考音频</td><td>最多 3 个</td><td>–</td></tr><tr><td>设置</td><td>音高、响度</td><td>循环段、提示词影响</td></tr></tbody></table>

### 编写提示词

在文本框中描述声音，例如“重雨落在鹅卵石街道上”。

当提示词为空时，示例提示词会显示在文本框下方。点击某个示例即可填入，或点击随机按钮获取新的示例。

### 参考音频

在 SeedAudio 1.0 中，您最多可以添加三个参考音频文件，以引导结果的音色和纹理。点击 **音频** 卡片并选择：

* **从画布中选择** – 面板会隐藏，您可在画布上拖拽选择最长 30 秒的范围。点击 <kbd>确认</kbd>，ACE Studio 会将该范围渲染为参考。按 <kbd>Esc</kbd> 取消。
* **上传文件** – 选择一个最长 30 秒、10 MB 的音频文件。

参考项命名为 **音频 1**, **音频 2**，以及 **音频 3**。点击卡片上的播放按钮即可预览。

输入 `@` 在提示词中提及参考项，例如“使用 @音频 1 作为声音的纹理”。

要移除某个参考项，将鼠标悬停在其卡片上并点击删除按钮。提示词中对它的提及会变为纯文本，剩余参考项会重新编号。

{% hint style="info" %}
使用参考音频时，生成声音的长度可能会与选区略有不同。面板会将音符时长标记为估算值。
{% endhint %}

### 设置

打开面板左下角的设置菜单。双击滑杆即可将其重置为默认值。

**SeedAudio 1.0**

* **音高** – 将结果的音高偏移最多 ±12 个半音。
* **响度** – 将响度缩放至 x0.5 到 x2。

**ElevenLabs**

* **循环段** – 创建一个无缝循环段，使结尾与开头自然衔接。
* **提示词影响** – 结果对提示词的贴合程度。

### 生成

点击 <kbd>生成</kbd>。结果会作为常规音频片段插入到时间选区的起始处，您可以像编辑其他片段一样对其进行编辑。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.acestudio.ai/docs/product-wiki-zh/ai-gong-ju/sound-generator.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
