# 9.3.音频播放器

本节介绍了 FreeBSD Ports 中的一些可用于音频播放的软件。

**表 3. 音频播放器包**

| 名称          | 许可证      | 包名                                                                                | 工具包  |
| ----------- | -------- | --------------------------------------------------------------------------------- | ---- |
| Elisa       | LGPL 3.0 | [audio/elisa](https://cgit.freebsd.org/ports/tree/audio/elisa/)                   | Qt   |
| GNOME Music | GPL 2.0  | [audio/gnome-music](https://cgit.freebsd.org/ports/tree/audio/gnome-music/)       | GTK+ |
| Audacious   | BSD-2    | [multimedia/audacious](https://cgit.freebsd.org/ports/tree/multimedia/audacious/) | Qt   |
| MOC (音乐控制台) | GPL 2.0  | [audio/moc](https://cgit.freebsd.org/ports/tree/audio/moc/)                       | TUI  |

## 9.3.1. Elisa

Elisa 是由 KDE 社区开发的音乐播放器，旨在提供简单且易于使用的体验。

要安装 Elisa，请执行：

```sh
# pkg install elisa
```

## 9.3.2. GNOME Music

GNOME Music 是 GNOME 新的音乐播放应用。它旨在将优雅的浏览体验与简单直观的控制结合在一起。

要安装 GNOME Music，请执行：

```sh
# pkg install gnome-music
```

## 9.3.3. Audacious

Audacious 是一款开源音频播放器。它是 XMMS 的后代，能够按用户的需求播放音乐，同时不会占用计算机的过多资源。

要安装 Audacious，请执行：

```sh
# pkg install audacious-qt6 audacious-plugins-qt6
```

> **注意**
>
> Audacious 原生支持 OSS，但需要在音频选项卡中进行配置。

## 9.3.4. MOC (音乐控制台)

MOC (音乐控制台) 是一款旨在强大且易于使用的控制台音频播放器。

MOC 运行平稳，不论系统或 I/O 负载如何，因为它在独立线程中处理输出缓冲区。它不会在文件之间造成空隙，因为下一首文件在播放当前文件时会被预缓存。

要安装 MOC (音乐控制台)，请执行：

```sh
# pkg install moc
```


---

# 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://book.bsdcn.org/hanbook/di-9-zhang-duo-mei-ti/9.3.-yin-pin-bo-fang-qi.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.
