SoX(Sound eXchange)是命令行下的一套音频处理组件,号称“音频处理领域内的瑞士军刀。

它有windows、linux、MacOS X等平台下的多个版本。

NAME

SoX − Sound eXchange, the Swiss Army knife of audio manipulation

SYNOPSIS

sox [global-options] [format-options] infile1

[[format-options] infile2] ... [format-options] outfile

[effect [effect-options]] ...

play [global-options] [format-options] infile1

[[format-options] infile2] ... [format-options]

[effect [effect-options]] ...

rec [global-options] [format-options] outfile

[effect [effect-options]] ...

DESCRIPTIONIntroduction

SoX reads and writes audio files in most popular formats and can optionally apply effects to them; it can

combine multiple input sources, synthesise audio, and, on many systems, act as a general purpose audio

player or a multi-track audio recorder. It also has limited ability to split the input in to multiple output files.

All SoX functionality is available using just the sox command, however, to simplify playing and recording

audio, if SoX is invoked as play the output file is automatically set to be the default sound device and if

invoked as rec the default sound device is used as an input source. Additionally, the soxi(1) command provides

a convenient way to just query audio file header information.

The heart of SoX is a library called libSoX. Those interested in extending SoX or using it in other programs

should refer to the libSoX manual page: libsox(3).

SoX is a command-line audio processing tool, particularly suited to making quick, simple edits and to batch

processing. If you need an interactive, graphical audio editor, use audacity(1).

* * *

The overall SoX processing chain can be summarised as follows:

Input(s) ® Combiner ® Effects ® Output(s)

Note however, that on the SoX command line, the positions of the Output(s) and the Effects are swapped

w.r.t. the logical flow just shown. Note also that whilst options pertaining to files are placed before their

respective file name, the opposite is true for effects. To show how this works in practice, here is a selection

of examples of how SoX might be used. The simple

sox recital.au recital.wav

translates an audio file in Sun AU format to a Microsoft WAV file, whilst

sox recital.au -b 16 recital.wav channels 1 rate 16k fade 3 norm

performs the same format translation, but also applies four effects (down-mix to one channel, sample rate

change, fade-in, nomalize), and stores the result at a bit-depth of 16.

sox -r 16k -e signed -b 8 -c 1 voice-memo.raw voice-memo.wav

converts ‘raw’ (a.k.a. ‘headerless’) audio to a self-describing file format,

sox slow.aiff fixed.aiff speed 1.027

adjusts audio speed,

sox short.wav long.wav longer.wav

concatenates two audio files, and

sox -m music.mp3 voice.wav mixed.flac

......

sox处理mp3_音频处理利器--SoX相关推荐

  1. sox处理mp3_音频处理常用Linux命令总结(一)

    今天总结一下常用的linux音频处理工具 soX - Sound eXchange soxi soxi 常用选项soxi: SoX vUsage: soxi [-V[level]] [-T] [-t| ...

  2. sox+linux查录音格式,linux-使用SOX和sox FAIL格式混合音频:无法打开输入文件`audio_recorded.wav’:WAVE:找不到RIFF标头...

    我想在Linux中使用SOX混合音频.这是我的剧本. 我是这个东西的初学者. time sox --buffer 128000 --combine mix audio1.mp3 audio_recor ...

  3. sox处理mp3_SoX 音频处理工具使用方法

    一.简介 SoX 可以读取和写入常见格式的音频文件,并在此过程中选择性的加入一些声音效果.它可以组合多个输入源及合成音效,在许多系统上也可以作为音频播放器或多轨录音机使用. SoX 工具在大部分 Li ...

  4. sox和lame音频处理器

    前两天想在ubuntu上录个音频文件,无意发现了一个有趣的音频处理器sox sudo apt-get install sox 先安装了sox之后发现有些文件不能play (比如mp3) sudo ap ...

  5. sox处理mp3_SoX — 音频处理工具里的瑞士军刀

    SoX(即 Sound eXchange)是一个跨平台(Windows,Linux,MacOS 等)的命令行实用程序,可以将各种格式的音频文件转换为需要的其他格式. SoX 还可以对输入的音频文件应用 ...

  6. 音频处理工具 sox 使用

    1. sox 使用方式 sudo apt-get install sox 通过 play 查看音频格式 play male_audio.wav play WARN alsa: can't encode ...

  7. Linux音频转换工具包sox

    Linux音频转换工具包 yum -y install sox sox # 音频转换工具包 # 把m4a格式转为wav sox -t raw -c 1 -e signed-integer -b 16 ...

  8. sox处理mp3_使用SoX将mp3文件拆分为TIME秒

    I need to split mp3 file into slices TIME sec each. I've tried mp3splt, but it doesn't work for me i ...

  9. 怎么转换html文件为mp3,如何把音频转换成mp3_音频文件怎么转mp3格式-系统城

    随着计算机技术的发展,网络上的音频文件的格式会随着音质的好坏决定存储的格式,一些朋友想要把某些音频文件转化成mp3格式,却不知道怎么操作.那么我们该如何把音频文件转换成mp3呢?接下来小编就给大家带来 ...

  10. qmc0文件怎么转换mp3_音频转换器哪个好 怎么剪切MP3音频制作手机铃声

    在生活中比较常见的音频格式就是MP3格式了,因为这种格式使用范围广泛,所以我们也会经常需要对其进行编辑,比如说设置手机铃声,大家都知道,手机的自带铃声很少,而且比较单一,如果想要自己制作铃声就需要一款 ...

最新文章

  1. JS+CSS打造一款漂亮绿色相册代码
  2. 上新了三星堆!“金面具”网友P图大赛又双叒开始了……
  3. PAT1132: Cut Integer
  4. python支持向量机分类器怎么用_可视化SVM分类器开源实现的python代码
  5. [JUC-1]并发包实现及线程状态
  6. 如何使用Flutter开发web应用
  7. 插头DP/轮廓线DP
  8. Linux 下设置 SVN 忽略的目录和文件
  9. Ambiguous mapping. Cannot map ‘xxxController‘ method
  10. 读书笔记:谁都可以进外企
  11. 图片合成视频,视频文件过大了,python 改变视频的码率, 压缩视频文件
  12. LINUX下USB1.1设备学习小记(5)_uhci与设备(2)
  13. kali下的免杀之veil安装步骤
  14. 网易域名邮箱支持POP3/SMTP服务
  15. 如何使用Synplify综合vivado带IP核的工程
  16. [架构之路-181]-《软考-系统分析师》-19- 系统可靠性分析与设计 - 2-容错性: 软件容错技术
  17. 数学之美:拼音输入法的数学原理
  18. 数字证书认证过程(https为例)
  19. ios12怎么投屏电脑 苹果手机怎么投屏
  20. 51单片机(一)工程建立、点亮任意几个LED灯、烧录、锁存器

热门文章

  1. 设计模式二 单例模式
  2. 基于Win64的Masm64函数设计
  3. 物联网-移远m26使用MQTT协议,AT指令对接阿里云
  4. 购买学生服务器、备案域名、搭建博客菜鸟级教程
  5. DOOM3 源码分析笔记(1)
  6. 微震生命探测仪厂家——微震生命探测仪可以检查毒品
  7. 一个项目经理的经验总结_小七_新浪博客
  8. 移动硬盘提示数据错误循环冗余检查要怎么办啊
  9. NIVIDIA Tegra K1 QWT安装使用问题和解决办法
  10. 问题 F: 小明与隔壁老王之间不得不说的故事