> 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/arrangement-in-canvas/clips.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>

将鼠标悬停在片段上时，片段左上/右上角会出现 2 个小方块。水平拖动方块可为片段创建淡入/淡出。拖动淡化曲线上的控制柄可调整斜率。

当 2 个片段连接时，跨片段拖动方块可创建交叉淡化。

</details>

<details>

<summary>分割片段</summary>

分割片段有 2 种方式：

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

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

</details>

<details>

<summary>停用片段</summary>

停用的片段会显示为深色，且不会被合成或听见。

要停用片段，你可以：

* 点击片段的标题栏，并在右键菜单中将其停用。
* 将标记线放在片段内部，并在右键菜单中将其停用。

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

* 创建选区覆盖你想停用的部分，并在右键菜单中将其停用。

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

</details>

<details>

<summary>更改颜色</summary>

片段的颜色会跟随其当前轨道的颜色。你可以在右键菜单中为片段指定颜色。

</details>

## MIDI 片段

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

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

你可以在人声轨上新建或导入 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, and the optional `goal` query parameter:

```
GET https://docs.acestudio.ai/docs/product-wiki-zh/gong-cheng/arrangement-in-canvas/clips.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
