In sox 14.0.1 the -1 is a one byte sample, -2 is a two byte sample, therefore the command is sampling one-in, two-out.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve Edwards Sent: Tuesday, April 14, 2009 9:08 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] .GSM -> .WAV (or ,MP3) Conversion On Tue, 14 Apr 2009, Arjan Kroon | Mobillion wrote: > I record the message in ULAW > > After that I call sox with this command: > /usr/bin/sox -c 1 -1 -t ul -r 8000 $in_fl -t wav -2 -r 8000 -c 1 > $wav_fl What are "-1" and "-2" for? Both sox 12.17.5 and 12.18.1 say they are invalid. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
