# 创建一个轨道

创建音轨的标准方法是：在 样式编辑器 中添加打击乐器，并在 歌曲编辑器 中为旋律音轨添加乐器。然后在 样式编辑器 中使用 **添加节拍/低音线** 按钮，为你想要的每个节奏元素创建不同的打击乐循环——主贝斯线、踩镲线、特殊节奏与过门等。它们会在创建时列在 歌曲编辑器 中。要让它们播放，请在音轨时间线的起始小节处单击，以创建一个新的 **块元素**（片段）。你也可以拖入 样式 块，让该模式跨越多个小节。同样的技巧也可用于重复的贝斯线，只要你在 样式编辑器 中创建它们即可。

<figure><img src="/files/gGyTyrKcfWoh2f2Mg3o3" alt=""><figcaption><p>用键盘模拟钢琴</p></figcaption></figure>

对于旋律轨道，在歌曲编辑器中点击你想要新旋律片段所在的小节，然后双击该块元素以打开钢琴窗。在钢琴窗中放置你的音符：点击你想要的音符起始“位置”或 tick 以创建一个新音符，然后你可以拖动音符右侧边缘来将其延长到你想要的长度。你也可以上下拖动音符来改变它们的音高。

或者，你也可以在钢琴窗中按下录制按钮，并通过电脑键盘或 MIDI 键盘实时弹奏音符。

我们建议你接下来阅读并完成 “你的第一首歌曲”[^1] 部分中的练习。

[^1]:


---

# 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://docs.lmms.io/user-manual/jian-ti-zhong-wen/bian-qu/chuang-jian-yi-ge-gui-dao.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.
