Hello Timo, On Tue, Mar 22, 2011 at 8:34 PM, Timo Boettcher <deb...@timoboettcher.name> wrote: > Package: sox > Version: 14.3.1-1 > Severity: normal > > > the sox manpage says > > The sampling rate associated with a null file is by > default 48 kHz, but, as with a normal file, this can be > overridden if desired using command-line format options > > This does not work on sox 14.3.1-1: > > timo@spida ~ % rec -r 44100 -b 16 -c 2 -n empty.wav trim 0:00 1:00 > rec WARN formats: can't set sample rate 44100; using 48000 > rec FAIL sox: Input files must have the same sample-rate > > it DOES work on sox 14.3.1-1+b1 (on amd64): > > timo@timo1 ~ % rec -r 48000 -b 16 -c 2 -n empty.wav trim 0:00 1:00
Hmmm.. You specified the default rate of 48 kHz on the later one. Timo, if you are trying to set the sample rate of the target, you misplaced the sampling rate parameter. To make the target 44.1 kHz, in your case empty.wav, you should do the following: rec -b 16 -c 2 -n -r 44100 empty.wav trim 0:00 1:00 Can you give it a try? Thanks, -Pascal -- Homepage (http://organact.mine.nu) Debian GNU/Linux (http://www.debian.org) COMunité/LACIME: École de technologie supérieure (http://www.comunite.ca) Integrated Microsystems Laboratory: McGill (http://www.iml.ece.mcgill.ca) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org