> For the complete documentation index, see [llms.txt](https://docs.lmms.io/user-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lmms.io/user-manual/jian-ti-zhong-wen/yue-qi-cha-jian/nescaline.md).

# NEScaline

<figure><img src="/files/tpQXg4VbpwBU0w7uaag4" alt=""><figcaption><p>NEScaline</p></figcaption></figure>

NEScaline 是一个红白机（NES）音效合成器。它提供了四个音频通道（channels），每个通道附带了不同的噪声和设置。

## 用法

* MASTER 下的 VOL 控件控制乐器的主音量，值取自 0 \~ 2。默认为 1，即标准音量。
* MASTER 下的 VIBR 控件控制乐器的主颤音效果，值取自 0 \~ 15。
* VOL（音量）取自 0\~15。
* CRS（音高粗调）允许你在 -24 ～ 24 的范围间粗略地改变声音的的音高。
* ENV（包络）提供了一个包络来让声音变得更短。
  * 无限（infinity，∞）按钮。启用后，包络会被无限循环，在音符输入时提供反复的包络输出。
  * LEN（包络线长度，envelope length）决定包络持续的时间长度，在声音切断前确定其长度。值取自 0\~15。
  * WIDTH（执行周期，duty cycle）
* SWEEP 提供了扫频效果。具体是基于你给的扫频范围来向前/向后改变音高。
  * AMT（扫频范围）决定最终的音高，值取自 -7\~7。
  * RATE（扫频速率）决定到达最终音高的时间。值越大时间越久。

部分通道有一些相同的旋钮和参数。

每个通道输出一组声音波形，并可由上述设置项进行控制。

* CH1（通道一）和 CH2（通道二）提供半方波，你可以利用这两个通道轻松地混出有特色的声音。
* CH3（通道三）提供了一个三角波。
* CH4（通道四）专门提供方波形噪声。这个通道有专用的控件，来调制和使之跟随输入音符作为噪声的基频。


---

# 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.lmms.io/user-manual/jian-ti-zhong-wen/yue-qi-cha-jian/nescaline.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.
