首页 > 其他分享 >编译安装SOX

编译安装SOX

时间:2022-09-07 11:26:10浏览次数:81  
标签:files http IIR filter 编译 effects SOX audio 安装

1下载

http://sox.sourceforge.net/

2编译

autoreconf -i    之后生成configure

./configure       生成makefile
make

make install     生成可执行程序和SOX动态/静态库

3安装附加库

参考:https://audiodigitale.eu/?p=25

brew install opencore-amr libao flac two-lame libtool mad libid3tag libmagic libvorbis libpng libsndfile wavpack lame

 

OpencoreAMR-NB/WB http://sourceforge.net/projects/opencore-amr
AMR-NB/WB http://www.penguin.cz/~utx/amr
AO http://xiph.org/ao
FLAC http://flac.sourceforge.net
LADSPA http://www.ladspa.org
Lame MP3 encoder http://lame.sourceforge.net
Twolame MP2 enc. http://www.twolame.org
libltdl http://www.gnu.org/software/libtool
MAD MP3 decoder http://www.underbit.com/products/mad
MP3 ID3 tags https://sourceforge.net/projects/mad/files/libid3tag/
Magic http://www.darwinsys.com/file
Ogg Vorbis http://www.vorbis.com
Opus http://www.opus-codec.org/
PNG http://www.libpng.org/pub/png zlib
Sndfile http://www.mega-nerd.com/libsndfile
WavPack http://www.wavpack.com

 

 4 安装过程用到的一些编译工具:

auto-archive,glibtool, autoconfig 等,根据编译错误,查询需要安装的编译工具

5 安装过程中出现configure编译不过:

   找到编译不过的选项,可以先删除;

 

6官网能力集

The current release handles the following audio file formats:

  • Raw files in various binary formats
  • Raw textual data
  • Amiga 8svx files
  • Apple/SGI AIFF files
  • SUN .au files
    • PCM, u-law, A-law
    • G7xx ADPCM files (read only)
    • mutant DEC .au files
    • NeXT .snd files
  • AVR files
  • CDDA (Compact Disc Digital Audio format)
  • CVS and VMS files (continuous variable slope)
  • Grandstream ring-tone files
  • GSM files
  • HTK files
  • LPC-10 files
  • Macintosh HCOM files
  • Amiga MAUD files
  • AMR-WB & AMR-NB (with optional libamrwb & libamrnb libraries)
  • MP2/MP3 (with optional libmad, libtwolame and libmp3lame libraries)
  • MP4, AAC, AC3, WAVPACK, AMR-NB files (with optional ffmpeg library)
  • AVI, WMV, Ogg Theora, MPEG video files (with optional ffmpeg library)
  • Ogg Vorbis files (with optional Ogg Vorbis libraries)
  • FLAC files (with optional libFLAC)
  • IRCAM SoundFile files
  • NIST SPHERE files
  • Turtle beach SampleVision files
  • Sounder & Soundtool (DOS) files
  • Yamaha TX-16W sampler files
  • SoundBlaster .VOC files
  • Dialogic/OKI ADPCM files (.VOX)
  • Microsoft .WAV files
    • PCM, floating point
    • u-law, A-law, MS ADPCM, IMA (DMI) ADPCM
    • GSM
    • RIFX (big endian)
  • WavPack files (with optional libwavpack library)
  • Psion (palmtop) A-law WVE files and Record voice notes
  • Maxis XA Audio files
    • EA ADPCM (read support only, for now)
  • Pseudo formats that allow direct playing/recording from most audio devices
  • The "null" pseudo-file that reads and writes from/to nowhere

The audio effects/tools included in this release are as follows:

 
  • Tone/filter effects
    • allpass: RBJ all-pass biquad IIR filter
    • bandpass: RBJ band-pass biquad IIR filter
    • bandreject: RBJ band-reject biquad IIR filter
    • band: SPKit resonator band-pass IIR filter
    • bass: Tone control: RBJ shelving biquad IIR filter
    • equalizer: RBJ peaking equalisation biquad IIR filter
    • firfit+: FFT convolution FIR filter using given freq. response (W.I.P.)
    • highpass: High-pass filter: Single pole or RBJ biquad IIR
    • hilbert: Hilbert transform filter (90 degrees phase shift)
    • lowpass: Low-pass filter: single pole or RBJ biquad IIR
    • sinc: Sinc-windowed low/high-pass/band-pass/reject FIR
    • treble: Tone control: RBJ shelving biquad IIR filter
     
  • Production effects
    • chorus: Make a single instrument sound like many
    • delay: Delay one or more channels
    • echo: Add an echo
    • echos: Add a sequence of echos
    • flanger: Stereo flanger
    • overdrive: Non-linear distortion
    • phaser: Phase shifter
    • repeat: Loop the audio a number of times
    • reverb: Add reverberation
    • reverse: Reverse the audio (to search for Satanic messages ;-)
    • tremolo: Sinusoidal volume modulation
     
  • Volume/level effects
    • compand: Signal level compression/expansion/limiting
    • contrast: Phase contrast volume enhancement
    • dcshift: Apply or remove DC offset
    • fade: Apply a fade-in and/or fade-out to the audio
    • gain: Apply gain or attenuation; normalise/equalise/balance/headroom
    • loudness: Gain control with ISO 226 loudness compensation
    • mcompand: Multi-band compression/expansion/limiting
    • norm: Normalise to 0dB (or other)
    • vol: Adjust audio volume
     
  • Editing effects
    • pad: Pad (usually) the ends of the audio with silence
    • silence: Remove portions of silence from the audio
    • splice: Perform the equivalent of a cross-faded tape splice
    • trim: Cuts portions out of the audio
    • vad: Voice activity detector
     
  • Mixing effects
    • channels: Auto mix or duplicate to change number of channels
    • divide+: Divide sample values by those in the 1st channel (W.I.P.)
    • remix: Produce arbitrarily mixed output channels
    • swap: Swap stereo channels
     
  • Pitch/tempo effects
    • bend: Bend pitch at given times without changing tempo
    • pitch: Adjust pitch (= key) without changing tempo
    • speed: Adjust pitch & tempo together
    • stretch: Adjust tempo without changing pitch (simple alg.)
    • tempo: Adjust tempo without changing pitch (WSOLA alg.)
     
  • Mastering effects
    • dither: Add dither noise to increase quantisation SNR
    • rate: Change audio sampling rate
     
  • Specialised filters/mixers
    • deemph: ISO 908 CD de-emphasis (shelving) IIR filter
    • earwax: Process CD audio to best effect for headphone use
    • noisered: Filter out noise from the audio
    • oops: Out Of Phase Stereo (or `Karaoke') effect
    • riaa: RIAA vinyl playback equalisation
     
  • Analysis `effects'
    • noiseprof: Produce a DFT profile of the audio (use with noisered)
    • spectrogram: graph signal level vs. frequency & time (needs `libpng')
    • stat: Enumerate audio peak & RMS levels, approx. freq., etc.
    • stats: Multichannel aware `stat'
     
  • Miscellaneous effects
    • ladspa: Apply LADSPA plug-in effects e.g. CMT (Computer Music Toolkit)
    • synth: Synthesise/modulate audio tones or noise signals
    • newfile: Create a new output file when an effects chain ends.
    • restart: Restart 1st effects chain when multiple chains exist.
     
  • Low-level signal processing effects
    • biquad: 2nd-order IIR filter using externally provided coefficients
    • downsample: Reduce sample rate by discarding samples
    • fir: FFT convolution FIR filter using externally provided coefficients
    • upsample: Increase sample rate by zero stuffing
      + Experimental or incomplete effect; may change in future.

Multiple audio files can be combined (and then further processed with effects) using any one of the following combiner methods:

 
  • concatenate
  • mix
  • merge: E.g. two mono files to one stereo file
  • sequence: For playing multiple audio files/streams

标签:files,http,IIR,filter,编译,effects,SOX,audio,安装
From: https://www.cnblogs.com/8335IT/p/16664713.html

相关文章

  • Centos系统安装
     准备工作从国内镜像下载CentOS-7-x86_64-DVD-1810.iso,约4.27GB。下载_UniversalUSBInstaller_,用于制作USB安装盘,约1.7MB。打开连接单击如下按键下载。准备......
  • uni-app 条件编译
    条件编译可以使一套代码,在不同平台下执行不同的部份。比如在APP内执行A,在小程序内执行B。条件编译可以出现在:template、style、script三个模块内。在三个模块内编译代码......
  • Mac 下反编译Android APK
    准备工作:安装ApkTool、dex2jar、JD-GUI安装ApkTool1、下载ApkTool。大家可以从 https://ibotpeaches.github.io/Apktool/install/ 上下载ApkTool2、安装ApkTool(1)将......
  • 使用二进制编译安装lamp (centos)
    #1.Mysql-5.6.40软件包存放目录:```/usr/local/src/```###1.1安装mysql```shellcd/usr/local/src/#1.切换到软件包目录wgethttp://.....#2.获取php5.6.40源码包......
  • 实验环境安装配置
    实验环境安装配置一、实验目的  1.熟悉实验环境  2.熟悉Linux基本操作二、实验要求(一)任务请根据实验环境安装文档,完成特定开源软件的安装(二)实验报告请用Markd......
  • docker安装过程报错
    前面四个步骤为:(1)yum-yinstallgcc(安装GNU编译器套件) (2)yum-yinstallgcc-c++(安装GNU编译器套件) (3)yuminstall-yyum-utils(安装工具包) (4)yum-config-manage......
  • cypress安装时npm报错:npm WARN deprecated [email protected]: The querystring API
    处理方法一:更新npm版本:npminstall-gnpm使用淘宝镜像重新安装依赖:npminstall--registry=https://registry.npm.taobao.orgnpminstall-gcnpm--registry=https......
  • ReactJS 安装和设置教程
    ReactJS安装和设置教程React是目前最流行的用于构建UI的JavaScript库之一——在可预见的未来,这种趋势似乎将持续下去。在本文中,我们将专注于快速、轻松地设置Reac......
  • 04--Redis安装配置、原生命令、Redis高级:慢查询、事务、位图、HyperLogLog、GEO
    redis内容1redis安装配置25大数据类型操作3通用指令4高级数据类型BitMaps位图HyperLogLog超小内存唯一值计数#与布隆过滤器类似GEO地理位置信息......
  • 【云原生】Helm 常用命令(chart 安装、升级、回滚、卸载等操作)
    目录一、概述二、Helm仓库(helmrepo)1)添加chart仓库2)列出已添加的仓库3)从chart仓库中更新本地可用chart的信息4)删除一个或多个仓库三、创建chart(helmcreate)四、chart包安......