Your message dated Wed, 23 Mar 2011 09:21:08 -0400
with message-id <[email protected]>
and subject line Re: Bug#619342: sox: rec --null does not honor --rate
has caused the Debian Bug report #619342,
regarding sox: rec --null does not honor --rate
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
619342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619342
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
Input File : 'default' (alsa)
Channels : 2
Sample Rate : 48000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
In:0.00% 00:01:00.07 [00:00:00.00] Out:2.88M [ | ]
Clip:0
Done.
Please make sox 14.3.1-1+b1 available on the other arches, too.
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sox depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libgomp1 4.4.5-8 GCC OpenMP (GOMP) support library
ii libgsm1 1.0.13-3 Shared libraries for GSM speech co
ii libltdl7 2.2.6b-2 A system independent dlopen wrappe
ii libmagic1 5.04-5 File type determination library us
ii libopencore-amrnb0 0.1.2-1 Adaptive Multi Rate speech codec -
ii libopencore-amrwb0 0.1.2-1 Adaptive Multi-Rate - Wideband spe
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libsndfile1 1.0.21-3 Library for reading/writing audio
ii libsox-fmt-alsa 14.3.1-1 SoX alsa format I/O library
ii libsox-fmt-base 14.3.1-1 Minimal set of SoX format librarie
ii libsox1b 14.3.1-1 SoX library of audio effects and p
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
sox recommends no packages.
Versions of packages sox suggests:
pn libsox-fmt-all <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello Timo!
On Wed, Mar 23, 2011 at 2:48 AM, Timo Boettcher
<[email protected]> wrote:
[...]
>> 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
> This works for me. Which leaves me with the question, why this behaviour
> was changed between 14.3.1-1 and 14.3.1-1+b1 (I had pasted the command
> from one of my boxes where it worked to a ssh-session to the other,
> where it didn't work)
In all honesty, it should not have worked.
As to why it worked, I'm clueless... The rebuilt should not bring anything new.
As the issue at hand seems to be solved, I'm closing this bug.
Feel free to reopen if you think I'm wrong.
Cheers,
-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)
--- End Message ---