Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
sox [2015/06/01 01:51]
slackermedia created
sox [2017/05/15 11:59]
127.0.0.1 external edit
Line 1: Line 1:
-SoX 
  
-------------------------------------------------------------------------------- 
  
-The default Slackware install of SoX lacks MP3 support, presumably for legal +======SoX======
-reasons. As transcode is to video, so SoX is to audio; therefore, to have +
-maximum flexibility in your multimedia studio you will want to create a custom +
-compile of SoX.+
  
-Note+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"​.
  
-If you don't feel like re-compiling ​Sox is worth the trouble, ​you can probably +<WRAP tip> 
-do much of the typical SoX tasks (such as transcodingsample rate conversion, +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 terminalthen it's likely worth while. Otherwisethere are many other tools that you can fall back on just for MP3 files, using SoX for everything else. 
-and so on) with ffmpeg.+</​WRAP>​
  
-Then download the sox source code and Pat's SlackBuild script from your local +=====Re-Compiling SoX=====
-Slackware mirror, and rebuild with as much codec support as you can manage. For +
-example:+
  
- ./configure --with-distro='​Slackermedia13+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/''​. 
---with-ladspa-path='/​usr/​lib64/'​ --with-oggvorbis=dyn + 
---with-flac=dyn --with-amrwb=dyn --with-amrnb=dyn --with-wavpack=dyn +Rebuild with as much codec support as you can manage. For example: 
---with-alsa=dyn --with-ffmpeg=dyn --with-oss=dyn --with-sndfile=dyn + 
---with-mp3=dyn --with-gsm=dyn --with-lpc10=dyn --with-ao=dyn +<​code>​ 
---libdir='/​usr/​lib64'​ + ./configure --with-distro='​SlackermediaXX
---mandir='/​usr/​man/'​+  --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 Once your new version of SoX is compiled, install it using the upgradepkg
-command>:+command:
  
-  * If you built a newer version of SoX than the one that shipped with +  * If you built a newer version of SoX than the one that shipped with Slackware, then issue this command ​(where x.x is the newer version number)
-    ​Slackware, then issue the command+
  
-          ​# upgradepkg /​tmp/​sox-x.x*t?​z+<​code>​ 
 +# upgradepkg /​tmp/​sox-x.x*t?​z 
 +</​code>​
  
 +  * If you built the same version of SoX as the one that shipped with Slackware, then issue the command:
  
-    Where x.x is the newer version number.+<​code>​ 
 +# upgradepkg --reinstall /tmp/sox-x.x*t?z 
 +</​code>​
  
-  * If you built the same version of SoX as the one that shipped with +===== Documentation =====
-    Slackware, then issue the command:+
  
-          # upgradepkg --reinstall ​/tmp/sox-x.x*t?z+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.
  
  
 +<WRAP centeralign>​
 +<wrap fa>​[[font|R]]</​wrap>​ <wrap fa>​[[start|S]]</​wrap>​ <wrap fa>​[[backup|Q]]</​wrap>​
 +</​WRAP>​