# 使用 Homebrew, Nix, winget 安装 sox_ng

查看 sox_ng 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:sox_ng
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sox_ng
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sox_ng
```

  证据: nixpkgs package indexes: pkgs/by-name/so/sox_ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id sox_ng.sox_ng -e
```

  证据: Windows Package Manager source index: sox_ng.sox_ng from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:sox_ng
- **软件包管理器:** Homebrew
- **版本:** 14.8.0.1
- **来源摘要:** Sound eXchange NG
- **主页:** <https://codeberg.org/sox_ng/sox_ng>
- **最后更新:** 2026-05-27T02:42:02Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- play_ng (别名)
- rec_ng (别名)
- sox_ng (别名)
- soxi_ng (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 14.8.0.1
## 项目历史与用法

SoX_ng is a hard fork of SoX 14.4.2 that keeps the command-line audio-processing model while allowing the fork to coexist with traditional SoX. It is mainly interesting to package users as a maintained, separately named SoX lineage with its own binaries, libraries, releases, wiki, and issue tracker.

### 项目历史

The official README defines `sox_ng` as a hard fork of `sox-14.4.2` aiming to sanitize SoX. It says the project imports, compares, and refines bug fixes and new work from software distributions that package SoX and from forks on GitHub and elsewhere.

The Codeberg repository was created in October 2024. Its README describes a six-monthly cadence for micro and minor releases and explicitly states that a major release with incompatible changes is not planned.

### 采用历史

SoX_ng is young compared with SoX, but it is packaged in several channels in the input facts, including Homebrew, Nix, and winget. The README also names Homebrew installation on macOS and winget installation on Windows.

The fork's packaging story is part of its design: by installing as `sox_ng`, `play_ng`, `rec_ng`, `soxi_ng`, `libsox_ng`, and related names, it can coexist with the older SoX package unless configured to replace it.

### 使用方式

The `sox_ng` command follows the SoX model of reading and writing audio files, applying effects, combining input sources, synthesizing audio, playing, recording, and querying headers. The README documents source builds through `./configure` and `make` and explains optional integration with ffmpeg for additional audio and video formats.

The project documents a replacement mode through `./configure --enable-replace`, but the default package-facing behavior is separate command and library names so users can install both SoX and SoX_ng.

### 为什么软件包爱好者会关心

SoX_ng matters to package nerds because it turns distro-patched audio-tool maintenance into an upstream fork. Its README explicitly frames the project as collecting fixes from many software distributions and forks, which is exactly the kind of long-tail maintenance package maintainers care about.

The coexistence naming scheme also lowers adoption risk: package managers can offer the fork without breaking scripts that depend on classic `sox`, while users who want replacement behavior can opt in at configure time.

### 时间线

- 2024: Codeberg repository created.
- 2024: README describes SoX_ng as a hard fork of SoX 14.4.2.
- 2026: SoX_ng 14.8.0 released with new effects, formats, bug fixes, and documentation changes.
- 2026: README schedules regular micro and minor releases.

### Related projects

- SoX is the upstream project and command-line model from which SoX_ng forked.
- ffmpeg is documented as an optional runtime dependency for reading additional audio and video formats.
- Homebrew, Nix, and winget are package channels documented in input facts or the official README.

### 来源

- <https://codeberg.org/api/v1/repos/sox_ng/sox_ng>
- <https://codeberg.org/api/v1/repos/sox_ng/sox_ng/releases>
- <https://codeberg.org/sox_ng/sox_ng/src/branch/main/ChangeLog>
- <https://codeberg.org/sox_ng/sox_ng/src/branch/main/README.md>
- source_facts.package-manager


## 安全说明

没有找到 sox_ng 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - sox_ng: normalized package name match | nixpkgs package indexes: pkgs/by-name/so/sox_ng/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - sox_ng.sox_ng: normalized package name match | Windows Package Manager source index: sox_ng.sox_ng from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/sox_ng.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sox_ng.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
