> 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/gong-cheng/hua-bu-zhong-de-bian-pai/pian-duan.md).

# 片段

## 概览

<figure><img src="/files/2d1addd0151603387886d8519494a8717a85a433" alt="Clips in ACE Studio&#x27;s Canvas."><figcaption></figcaption></figure>

片段是轨道上的基本单元，承载音频或 MIDI 内容。每个片段在其标题栏上有一个名称，并在主体中显示主要内容的缩略图。

## 常规编辑

在画布中，您可以在选区范围内编辑片段或片段的一部分。单击片段的标题栏可创建覆盖整个片段范围的选区；拖出选区以覆盖要编辑的片段部分。然后您可以对该片段执行各种操作，如复制、克隆和删除。

<details>

<summary>编辑内容</summary>

双击片段主体以打开编辑器，在其中编辑其内容。

</details>

<details>

<summary>移动片段</summary>

创建选区后，在标题栏上拖动以移动片段。如果选区仅覆盖片段的一部分，则在移动时该部分会被拆分出来。

</details>

<details>

<summary>删除片段</summary>

创建选区后，您可以使用 <kbd>删除</kbd> 来移除选区覆盖的部分。如果选区覆盖整个片段，则该片段将被完全删除；如果选区仅覆盖片段的一部分，则选区覆盖的部分将被裁剪。

</details>

<details>

<summary>调整长度</summary>

可通过拖动左右边缘来调整片段长度。您也可以创建选区以删除片段的一部分。

</details>

<details>

<summary>淡入/淡出 与 交叉淡化</summary>

将光标悬停在片段上时，片段左右上角会出现两个小方块。水平拖动方块可为片段创建淡入/淡出。拖动淡入曲线上的把手可调整斜率。

当两个片段相连时，将方块跨片段拖动会创建交叉淡化。

</details>

<details>

<summary>分割片段</summary>

分割片段有两种方式：

* 在特定位置分割片段：将标记线放置在要分割的位置，然后从右键菜单使用分割功能。
* 从片段中分离出一段：创建选区覆盖要分离的部分，然后从右键菜单使用分割功能。

快捷键 <kbd>Ctrl</kbd> / <kbd>⌘Command</kbd>  + <kbd>W</kbd> .

</details>

<details>

<summary>停用片段</summary>

被停用的片段为暗色，且不会被合成或听到。&#x20;

要停用片段，您可以：

* 单击片段的标题栏，并从右键菜单中停用。
* 将标记线置于片段内，并从右键菜单中停用。

要停用片段的一部分，您可以：

* 创建选区覆盖要停用的部分，并从右键菜单中停用。

快捷键 <kbd>0</kbd>.

</details>

<details>

<summary>更改颜色</summary>

片段的颜色跟随其所属轨道的颜色。您也可以从右键菜单为片段分配颜色。

</details>

## MIDI 片段

通过双击人声/乐器轨道可以创建 MIDI 片段。您也可以将 MIDI、MusicXML、UfData 文件导入为片段。

{% tabs %}
{% tab title="人声片段" %}
人声片段包含 MIDI 音符、歌词和 Vocal Control 参数。

您可以在人声轨上新建或导入 MIDI 文件以获得人声片段。
{% endtab %}

{% tab title="乐器片段" %}
乐器片段包含 MIDI 音符、演奏法以及表情参数。

您可以在乐器轨上新建或导入 MIDI 文件以获得乐器片段。
{% endtab %}

{% tab title="通用 MIDI 片段" %}
通用 MIDI 片段仅包含 MIDI 音符。

您可以在空的 MIDI 轨上新建或导入 MIDI 文件以获得通用 MIDI 片段。
{% endtab %}
{% endtabs %}

> 类型转换：
>
> 不同类型的 MIDI 片段携带一些特定信息，例如人声片段包含歌词，乐器片段包含演奏法。当某类型的 MIDI 片段移动到另一类型的轨道时，这些特定信息将丢失。

## 音频片段

音频片段是导入或录制并包含在音频轨中的音频文件。


---

# 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 dynamically by asking a question.

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

```
GET https://docs.acestudio.ai/docs/product-wiki-zh/gong-cheng/hua-bu-zhong-de-bian-pai/pian-duan.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.
