> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/guan-fang-shou-ce/readme.zh-4/playing_sounds.zh.md).

# 播放声音

Opus 包含了一个简单的音频播放器，你可以快速播放 Directory Opus 中的声音文件。Opus 本身支持的唯一声音格式为 **.wav**，不过，如果你在 Windows 中安装了合适的音频编解码器，该播放器也可以播放 **.mp3** 等格式。

![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-bc14334fcd9ebe50ca6d0c5d0c6aea4d44b82f08%2Fplay.png?alt=media)

**播放** 对话框会显示有关声音文件的一些基本信息 - 名称、格式、数据速率等等。可用控件如下：

* ![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-1d732fb6cf4a64013f3f7a32c56418f1ebb03b93%2Frewind.png?alt=media)：重新开始。这会将声音文件倒返回到开始位置。
* ![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-4a6d1bc9cb66f3cb8a0f5a6447200c640830c4d6%2Fstop.png?alt=media)：停止。这会停止播放当前的声音文件。
* ![](https://3597805814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3XSZSwWow0fDf6fQJobd%2Fuploads%2Fgit-blob-e9300ce8756ba8b8c6f3be69fec960da1b57f9d4%2Fplay_button.png?alt=media)：播放。如果声音文件已停止，这会开始播放。
* **位置：** 滑块指示了声音文件中的当前播放位置。如果文件允许，你可以拖动滑块来更改播放位置。
* **播放结束后关闭播放窗口：** 如果启用了此选项，最终声音播放完毕后，播放对话框将自动关闭。如果关闭此选项，该对话框将等待你手动关闭。

可以通过内部 [**Play**](/directory-opus/guan-fang-shou-ce/readme.zh-10/readme.zh-2/readme.zh/play.zh.md) 命令来访问内部声音播放器。由于其功能相当有限，而且现在所有计算机都装有标准媒体播放软件，因此该播放器没有提供在默认工具栏上。不过，你可以通过两种方式访问该播放器：

* 在 [自定义](/directory-opus/guan-fang-shou-ce/readme.zh-6.md) 对话框（选择 **设置 / 自定义工具栏** 命令）中，使用 [**命令**](/directory-opus/guan-fang-shou-ce/readme.zh-6/readme.zh/commands.zh.md) 页底部的过滤器找到 **播放** 命令，然后将其拖动到工具栏或菜单。随后，你可以选择一个或多个声音文件，然后单击 **播放** 按钮，按顺序播放它们。
* 在配置 [**文件操作 / 双击文件**](/directory-opus/guan-fang-shou-ce/readme.zh-5/readme.zh/readme.zh-4/readme.zh-1.md) 页中，启用 **对于 WAV 文件，使用内部声音播放器** 选项。如果启用了此选项，双击 Opus 中的 **.wav** 文件会自动在内部声音播放器中播放该文件。


---

# 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://chaoses-ib.gitbook.io/directory-opus/guan-fang-shou-ce/readme.zh-4/playing_sounds.zh.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.
