macOS
brew install soxlocal Homebrew formula metadata
安装
brew install soxlocal Homebrew formula metadata
sudo apk add soxAlpine Linux edge package indexes · sox · 来源: dl-cdn.alpinelinux.org
sudo dnf install soxFedora Rawhide package metadata · sox · 来源: dl.fedoraproject.org
nix profile install nixpkgs#soxnixpkgs package indexes · pkgs/by-name/so/sox/package.nix · 来源: api.github.com
sudo pacman -S soxArch Linux sync databases · sox · 来源: geo.mirror.pkgbuild.com
sudo zypper install soxopenSUSE Tumbleweed package metadata · sox · 来源: download.opensuse.org
scoop install main/soxScoop official bucket manifest trees · bucket/sox.json · 来源: api.github.com
winget install --id ChrisBagwell.SoX -eWindows Package Manager source index · ChrisBagwell.SoX · 来源: cdn.winget.microsoft.com
概览
SOund eXchange: universal sound sample translator
历史
SoX, short for Sound eXchange, is a long-running command-line audio conversion and processing suite. It is a classic Unix-style media tool: scriptable, format-oriented, useful in pipelines, and packaged broadly across Unix, Linux, macOS, and Windows package managers.
The official ChangeLog traces SoX back to July 1991 and records release history before and after the 11gamma series. The maintained SourceForge tree includes manuals, release notes, and library documentation for the `sox`, `play`, `rec`, and `soxi` commands.
SoX's manual describes the program as a command-line audio processing tool especially suited to quick edits and batch processing. Its model is intentionally non-graphical: input files, format options, output files, and effects are combined into a shell-friendly processing chain.
SoX persisted because it solved a package-manager-shaped problem: one small CLI could convert, inspect, record, play, synthesize, and batch-process audio without a desktop editor. The input package facts show it packaged by Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Scoop, winget, and other systems.
The 14.x release history shows active maintenance through the 2000s and 2010s, including format support, effects, libSoX changes, and portability fixes. Its SourceForge project page describes it as the Swiss Army Knife of sound processing utilities.
Common usage includes converting file formats, applying effects while converting, mixing or concatenating inputs, recording through `rec`, playing through `play`, and inspecting headers with `soxi`. The man page gives examples such as AU to WAV conversion, rate changes, fades, normalization, synthesis, and multitrack recording.
For package users, SoX is often installed because another script, build, podcast workflow, test fixture, or audio data pipeline needs a dependable `sox` binary rather than an interactive editor.
SoX is package-nerd infrastructure: tiny enough to script, old enough to be everywhere, and broad enough to replace many one-off audio converters. Its many optional codec and device backends make distro packaging choices visible to users, which is why formula variants and build dependencies matter.
The companion `play`, `rec`, and `soxi` entry points are also packaging-relevant because one installed program exposes several command names. This makes SoX a good example of a CLI package whose symlinks, optional libraries, and man pages are part of the user-facing contract.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
play | cli | 全局可执行文件 | |
rec | cli | 全局可执行文件 | |
sox | cli | 全局可执行文件 | |
soxi | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:sox |
|---|---|
| 版本 | 14.4.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sox |
| 主页 | https://sox.sourceforge.net/ |
| 仓库 | https://sourceforge.net/p/sox/code |
| 上游文档 | https://sourceforge.net/p/sox/code/ci/master/tree/sox.1 |
| 许可证 | GPL-2.0-or-later AND LGPL-2.1-or-later |
| 源码归档 | https://downloads.sourceforge.net/project/sox/sox/14.4.2/sox-14.4.2.tar.gz |
| 最后更新 | 2026-07-13T17:31:46+09:00 |
| Pulse | updated |
| 依赖 | flac, lame, libogg, libpng, libsndfile, libvorbis, mad, opusfile |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sox |
| Version Scheme | 0 |
| Revision | 6 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libsox-dev 14.4.2+git20190427-5+b3
Development files for the SoX library
sudo apt install libsox-devlibsox-fmt-all 14.4.2+git20190427-5+b3
All SoX format libraries
sudo apt install libsox-fmt-alllibsox-fmt-alsa 14.4.2+git20190427-5+b3
SoX alsa format I/O library
sudo apt install libsox-fmt-alsalibsox-fmt-ao 14.4.2+git20190427-5+b3
SoX Libao format I/O library
sudo apt install libsox-fmt-aolibsox-fmt-base 14.4.2+git20190427-5+b3
Minimal set of SoX format libraries
sudo apt install libsox-fmt-baselibsox-fmt-mp3 14.4.2+git20190427-5+b3
SoX MP2 and MP3 format library
sudo apt install libsox-fmt-mp3libsox-fmt-opus 14.4.2+git20190427-5+b3
SoX Opus format library
sudo apt install libsox-fmt-opuslibsox-fmt-oss 14.4.2+git20190427-5+b3
SoX OSS format I/O library
sudo apt install libsox-fmt-osslibsox-fmt-pulse 14.4.2+git20190427-5+b3
SoX PulseAudio format I/O library
sudo apt install libsox-fmt-pulselibsox3 14.4.2+git20190427-5+b3
SoX library of audio effects and processing
sudo apt install libsox3sox 14.4.2+git20190427-5+b3
Swiss army knife of sound processing
sudo apt install soxsox
nix profile install nixpkgs#soxlibsox-dev 14.4.2+git20190427-4build4
Development files for the SoX library
sudo apt install libsox-devlibsox-fmt-all 14.4.2+git20190427-4build4
All SoX format libraries
sudo apt install libsox-fmt-alllibsox-fmt-alsa 14.4.2+git20190427-4build4
SoX alsa format I/O library
sudo apt install libsox-fmt-alsalibsox-fmt-ao 14.4.2+git20190427-4build4
SoX Libao format I/O library
sudo apt install libsox-fmt-ao来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.