shithub: sox

Download patch

ref: c68357d8aa94c426f7d1791ea11d3da70b208288
parent: 9e4c0adc28e558cd89181669c43ec8d92c7df4cd
author: cbagwell <cbagwell>
date: Fri Apr 2 21:53:37 EST 1999

Adding more swap support

--- a/Changelog
+++ b/Changelog
@@ -40,6 +40,7 @@
   o Resample function was updated by Andreas Wilde 
     (andreas@eakaw2.et.tu-dresden.de) to fix problem were freqs. were
     off by a factor of 2.
+  o Added an effect that swaps stereo channels.  cbagwell
 
 sox-12.15
 ---------
--- a/README
+++ b/README
@@ -46,6 +46,7 @@
   o Apply a reverb effect
   o Reverse the sound samples (to search for Satanic messages ;-)
   o Convert from mono to stereo
+  o Swap stereo channels
   o Display general stats on a sound sample
   o Add the world-famous Fender Vibro-Champ effect
 
--- a/sox.1
+++ b/sox.1
@@ -95,6 +95,8 @@
 .br
 	stat [ \fIdebug\fB | \fI-v\fB ]
 .br
+	swap [ 1 2 3 4 ]
+.br
 	vibro \fIspeed \fB[ \fIdepth\fB ]
 .SH DESCRIPTION
 .I Sox
@@ -673,6 +675,11 @@
 sound file from the internal buffer that is in 32-bit signed PCM data.
 This is mainly only of use in tracking down endian problems that
 creep in to sox on cross-platform versions.
+.TP 10
+swap [1 2 3 4]
+Swap channels in multi-channel sound files.  In files with more than 2
+channels you may specify the order that the channels should be rearranged
+in.
 .TP 10
 vibro \fIspeed \fB [ \fIdepth\fB ]
 Add the world-famous Fender Vibro-Champ sound