Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sox [2015/07/07 04:32]
slackermedia
sox [2021/06/03 19:48]
Line 1: Line 1:
-[[{arrowp.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​left:​0;​}path|]] 
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​margin-left:​2.5em;​}backup|]] 
- 
-======SoX====== 
- 
-The default Slackware install of [[http://​sox.sourceforge.net/​|SoX]] lacks MP3 support, presumably for legal reasons. You can actually get by without using SoX by falling back upon [[ffmpeg]] but SoX does have several nice features that might make it worth "​fixing"​. 
- 
-<WRAP tip> 
-Whether going to the trouble of re-compiling SoX is worth it or not is up to you. If you find your workflow does center around manipulating mp3 files from the terminal, then it's likely worth while. Otherwise, there are many other tools that you can fall back on just for MP3 files, using SoX for everything else. 
-</​WRAP>​ 
- 
-=====Re-Compiling SoX===== 
- 
-Download the SoX source code from [[http://​sox.sourceforge.net]] and Pat's SlackBuild script from your local Slackware mirror (for example, ''​http://​mirrors.slackware.com/​slackware/​slackware${ARCH}-XX/​source/​ap/​sox/''​. 
- 
-Rebuild with as much codec support as you can manage. For example: 
- 
-<​code>​ 
- ​./​configure --with-distro='​SlackermediaXX'​ 
-  --with-ladspa-path='/​usr/​lib64/'​ --with-oggvorbis=dyn 
-  --with-flac=dyn --with-amrwb=dyn --with-amrnb=dyn --with-wavpack=dyn 
-  --with-alsa=dyn --with-ffmpeg=dyn --with-oss=dyn --with-sndfile=dyn 
-  --with-mp3=dyn --with-gsm=dyn --with-lpc10=dyn --with-ao=dyn 
-  --libdir='/​usr/​lib64'​ --mandir='/​usr/​man/'​ 
-</​code>​ 
- 
-Once your new version of SoX is compiled, install it using the upgradepkg 
-command: 
- 
-  * If you built a newer version of SoX than the one that shipped with 
-    Slackware, then issue the command 
- 
-<​code>​ 
-# upgradepkg /​tmp/​sox-x.x*t?​z 
-</​code>​ 
- 
-    Where x.x is the newer version number. 
- 
-  * If you built the same version of SoX as the one that shipped with 
-    Slackware, then issue the command: 
- 
-<​code>​ 
-# upgradepkg --reinstall /​tmp/​sox-x.x*t?​z 
-</​code>​ 
- 
-===== Documentation ===== 
- 
-SoX is, as its own tagline goes, a swiss army knife for sound. It it a powerful audio processor, with inputs, outputs, filters, and effects. See its [[http://​sox.sourceforge.net/​sox.html|project documentation]] to learn how to use it. 
- 
- 
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​float:​right;​}backup|]][[{arrowp.png|border:​0;​background:​none;​width:​0;​float:​right;​}path|]]