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.9 required=3.0 tests=AWL,BAYES_00, 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 646801F463 for ; Sun, 24 Nov 2019 23:04:21 +0000 (UTC) Received: from localhost ([::1]:39246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZ0vU-0005zo-0E for e@80x24.org; Sun, 24 Nov 2019 18:04:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57832) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZ0vR-0005zT-Tk for dtas-all@nongnu.org; Sun, 24 Nov 2019 18:04:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZ0vR-0005D4-2u for dtas-all@nongnu.org; Sun, 24 Nov 2019 18:04:17 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:38542) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZ0vQ-0005Cm-Ts for dtas-all@nongnu.org; Sun, 24 Nov 2019 18:04:17 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7751D1F463; Sun, 24 Nov 2019 23:04:14 +0000 (UTC) Date: Sun, 24 Nov 2019 23:04:14 +0000 From: Eric Wong To: Rene Maurer Subject: Re: Using 16-bit Signed Integer PCM Message-ID: <20191124230414.GA26642@dcvr> References: <87imn9l97j.fsf@alperose.cumparsita.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87imn9l97j.fsf@alperose.cumparsita.ch> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.71.152.64 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: , Cc: dtas-all@nongnu.org Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" Rene Maurer wrote: > dump.sox is in s32 format and not as assumed in s16 format. > Is there an explanation? .sox is always 32-bit integer, see soxformat(7) manpage. And having hacked on sox internals in C, I can confirm. It's a bit unfortunate, since nowadays most audio plugins and libraries are 32-bit float and FPUs are common, so the conversions cost some performance.