Forward: Bug#195027: ecasound2.2: Processing time (option -t) wrong with sample-rate != 44100 Hz

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Forward: Bug#195027: ecasound2.2: Processing time (option -t) wrong with sample-rate != 44100 Hz
From: Junichi Uekawa (dancer_AT_netfort.gr.jp)
Date: Wed May 28 2003 - 14:19:31 EEST


I wasn't quite following the '-t' discussion, but is this problem
a similar one to that were reported ("-t: at 48000", although this is
about a lower samplerate.)?

attached mail follows:


Package: ecasound2.2
Version: 2.2.3-1
Severity: normal

Despite the claim in /usr/share/doc/ecasound2.2/NEWS.gz that this has
supposedly been fixed in version 2.2.1, I encounter this misbehaviour:

    I use ecasound to record at a samplerate which is not the standard
44100 Hz. When using the option -t to stop recording after a given time, the
resulting length is completely wrong because ecasound seems to count samples
assuming the "standard" sample rate. For example, I use the following command
line:

        ecasound -d:3 -D -ev -evp -ezf -r -z:db -z:nointbuf \
            -f:s16_le,2,32000 -i:alsa -o stdout -t:$timeout

    If I'd like to have an output length of e.g. 300 seconds, I'd have to
calculate 300 * 32000 / 44100 and insert that as $timeout above to get the
correct length.

Thanks,

    - Stephan.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux gauss.dali.inka.de 2.4.20 #1 Mon May 5 17:14:35 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages ecasound2.2 depends on:
ii libartsc0 1.1.2-1 aRts Sound system C support librar
ii libasound2 0.9.3-2 Advanced Linux Sound Architecture
ii libaudiofile0 0.2.3-4 The Audiofile Library
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libgcc1 1:3.3-2 GCC support library
ii libjack0.50.0-0 0.50.0-1 JACK Audio Connection Kit (librari
ii libncurses5 5.3.20030510-1 Shared libraries for terminal hand
ii libreadline4 4.3-4 GNU readline and history libraries
ii libsamplerate0 0.0.15-1 audio rate conversion library
ii libstdc++5 1:3.3-2 The GNU Standard C++ Library v3
ii python 2.2.2.91-1 An interactive object-oriented scr
ii python-ecasound2.2 2.2.3-1 python binding files for ecasound

-- no debconf information



New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed May 28 2003 - 14:42:30 EEST