> 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).

# 片段

片段是 ACE Studio 中用于组织和编辑音频与 MIDI 内容，并应用专用工具的基本单元。

## 概览

<figure><img src="https://1816898227-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsn71WYzecYYQw3KkF40b%2Fuploads%2FTfy7tXfB39Qkwswf8njF%2Fclips.png?alt=media&amp;token=aa410fa0-563e-402d-938c-4fd206e76c14" alt="Clips in ACE Studio&#x27;s Canvas."><figcaption></figcaption></figure>

片段是轨道上承载音频或 MIDI 内容的基本单元。每个片段都有一个带名称的标题栏，以及显示主体内容缩略图的主体区域。

## 通用编辑

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

<details>

<summary>编辑内容</summary>

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

</details>

<details>

<summary>移动片段</summary>

创建选区后，拖动标题栏即可移动片段。如果选区只覆盖片段的一部分，则移动时该部分会被分割出来。

</details>

<details>

<summary>删除片段</summary>

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

</details>

<details>

<summary>调整长度</summary>

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

</details>

<details>

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

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

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

</details>

<details>

<summary>分割片段</summary>

分割片段有两种方式：

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

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

</details>

<details>

<summary>停用片段</summary>

停用的片段会显示为深色，并且不会被合成或播放。

要停用片段，你可以：

* 单击片段的标题栏，然后在右键菜单中将其停用。
* 将标记线置于片段内，然后在右键菜单中将其停用。

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

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

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

</details>

<details>

<summary>更改颜色</summary>

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

</details>

## MIDI 片段

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

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

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

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

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

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

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

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

## 音频片段

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

双击音频片段可打开音频编辑器，在其中你可以调整其增益、音高和共振峰，对其反转，或使用变形标记进行时间伸缩。请参阅 [剪辑编辑器](/docs/product-wiki-zh/gong-cheng/arrangement-in-canvas/clips/clip-editor.md) 和 [音频 Warp](/docs/product-wiki-zh/gong-cheng/arrangement-in-canvas/clips/audio-warp.md).

拖动音频片段标题栏的任一端可对其进行裁剪。按住 <kbd>Shift</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/gong-cheng/arrangement-in-canvas/clips.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.
