|
From: Francois A. <fra...@un...> - 2010-03-28 16:27:16
|
Dear Sox users, I am trying to use the sinc command proposed by SoX (v14.3.0). I have problems when using passband and notch filters. I tried to write command lines with my understanding of the manpages, but I must make a mistake somewhere. Here is what I tried : sox -V4 succession.mp3 filtered1.mp3 sinc 3500 -4000 sox -V4 succession.mp3 filtered2.mp3 sinc 4000 -3500 sox -V4 --plot gnuplot succession.mp3 -n sinc -4000 3500 > partiel2010bp.plt sox -V4 --plot gnuplot succession.mp3 -n sinc -3500 4000 > partiel2010notch.plt And below are the resulting error messages: D:\SoxWorld>sox -V4 succession.mp3 filtered1.mp3 sinc 3500 -4000 sox: SoX v14.3.0 time: Jun 16 2009 22:23:46 uname: CYGWIN_NT-5.1 FRANCOIS 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 gcc: 4.3.2 20080827 (beta) 2 arch: 1248 48 44 L OMP sox DBUG mp3-duration: got approx. duration by CBR extrapolation sox FAIL sinc: usage: [-a att|-b beta] [-p phase|-M|-I|-L] [-t tbw|-n taps] [freqHP][-freqLP [-t tbw|-n taps]] D:\SoxWorld>sox -V4 succession.mp3 filtered2.mp3 sinc 4000 -3500 sox: SoX v14.3.0 time: Jun 16 2009 22:23:46 uname: CYGWIN_NT-5.1 FRANCOIS 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 gcc: 4.3.2 20080827 (beta) 2 arch: 1248 48 44 L OMP sox DBUG mp3-duration: got approx. duration by CBR extrapolation sox FAIL sinc: usage: [-a att|-b beta] [-p phase|-M|-I|-L] [-t tbw|-n taps] [freqHP][-freqLP [-t tbw|-n taps]] D:\SoxWorld>sox -V4 --plot gnuplot succession.mp3 -n sinc -4000 3500 1>partiel2010bp.plt sox: SoX v14.3.0 time: Jun 16 2009 22:23:46 uname: CYGWIN_NT-5.1 FRANCOIS 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 gcc: 4.3.2 20080827 (beta) 2 arch: 1248 48 44 L OMP sox DBUG mp3-duration: got approx. duration by CBR extrapolation sox FAIL sinc: usage: [-a att|-b beta] [-p phase|-M|-I|-L] [-t tbw|-n taps] [freqHP][-freqLP [-t tbw|-n taps]] D:\SoxWorld>sox -V4 --plot gnuplot succession.mp3 -n sinc -3500 4000 1>partiel2010notch.plt sox: SoX v14.3.0 time: Jun 16 2009 22:23:46 uname: CYGWIN_NT-5.1 FRANCOIS 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 gcc: 4.3.2 20080827 (beta) 2 arch: 1248 48 44 L OMP sox DBUG mp3-duration: got approx. duration by CBR extrapolation sox FAIL sinc: usage: [-a att|-b beta] [-p phase|-M|-I|-L] [-t tbw|-n taps] [freqHP][-freqLP [-t tbw|-n taps]] Does anyone understand what is my mistake ? Why is there a 1 just before the ">" when I generate a gnuplot file ? Thank you in advance for your reply, Best regards, Francois Auger, http://www.univ-nantes.fr/auger-f Departement Mesures Physiques de l'IUT de Saint-Nazaire, bureau 2108 tel : 02 40 17 81 20, internet : http://www.univ-nantes.fr/iutsn/mp Laboratoire Ireena, Crtt, bureau 272 tel : 02 40 17 26 35, internet : http://www.polytech.univ-nantes.fr/ireena http://maps.live.com/default.aspx?v=2&FORM=LMLTCP&cp=47.25843~-2.267293&style=h&lvl=16&tilt=-90&dir=0&alt=-1000&phx=0&phy=0&phscl=1&encType=1 Ce courrier electronique est envoye intentionnellement sans accents. Recevant chaque jour une quantite importante de spam, je ne considere en aucun cas le courrier electronique comme un moyen de communication securise et fiable. Je ne m'engage pas a lire mes emails chaque jour. Je deconseille l'utilisation du courrier electronique pour des questions urgentes ou delicates. Merci de penser aux arbres de notre Terre avant d'imprimer ce message. |