From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id AC6061F463 for ; Sun, 24 Nov 2019 13:00:21 +0000 (UTC) Received: from localhost ([::1]:35464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYrUy-0004zT-7T for e@80x24.org; Sun, 24 Nov 2019 08:00:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42603) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYrUv-0004x3-95 for dtas-all@nongnu.org; Sun, 24 Nov 2019 08:00:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYrUu-0007E5-6R for dtas-all@nongnu.org; Sun, 24 Nov 2019 08:00:17 -0500 Received: from sabic.uberspace.de ([185.26.156.23]:37506) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iYrUt-00079l-S8 for dtas-all@nongnu.org; Sun, 24 Nov 2019 08:00:16 -0500 Received: (qmail 31805 invoked from network); 24 Nov 2019 13:00:11 -0000 Received: from localhost (HELO alperose) (127.0.0.1) by sabic.uberspace.de with SMTP; 24 Nov 2019 13:00:11 -0000 From: Rene Maurer To: dtas-all@nongnu.org Subject: Using 16-bit Signed Integer PCM User-Agent: notmuch Date: Sun, 24 Nov 2019 14:01:20 +0100 Message-ID: <87imn9l97j.fsf@alperose.cumparsita.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 185.26.156.23 X-BeenThere: dtas-all@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: duct tape audio suite List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" Even if I choose type=3Ds16 the resulting output is s32. wav file as follows: soxi src.wav Input File : 'src.wav' Channels : 2 Sample Rate : 44100 Precision : 16-bit Duration : 00:00:53.43 =3D 2356478 samples =3D 4007.62 CDDA sectors File Size : 9.43M Bit Rate : 1.41M Sample Encoding: 16-bit Signed Integer PCM Used "sox src.wav src.raw" to convert the file to src.raw: ls -l src.raw=20 -rw-r--r-- 1 r r 9425912 Nov 24 12:16 src.raw Used "dtas-ctl format type=3Ds16" to change the format to 16bit signed. Used "dtas-ctl sink ed dumper command=3D'sox $SOXFMT - /tmp/dump.sox' to create a dumper sink. Used "dtas-ctl sink ed dumper active=3Dtrue" to activate the sink. Play the file with "dtas-enq src.wav" Output of ps -x: 10030 ? SL 0:00 play -q -ts16 -c2 -r44100 - 10031 ? S 0:00 sox -ts16 -c2 -r44100 - /tmp/dump.sox 10032 ? S 0:00 sox /home/r/Desktop/SOX/src.wav -ts16 -c2 -r4410= 0 - I have assumed that /tmp/dump.sox will be identical with src.raw. But it isn't: ls -l /tmp/dump.sox=20 -rw-r--r-- 1 r r 18851872 Nov 24 13:24 /tmp/dump.sox dump.sox is in s32 format and not as assumed in s16 format. Is there an explanation? Best Ren=C3=A9