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-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (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 419D11F66E for ; Fri, 21 Aug 2020 13:04:37 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k96iV-0000Ut-Gj; Fri, 21 Aug 2020 13:04:23 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k96iT-0000Ug-1e for sox-users@lists.sourceforge.net; Fri, 21 Aug 2020 13:04:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4H5y5YMTVOkhfYRqznRwLXkdX9hkSdzFr++vglSqm6k=; b=XuX+a8RK04I/XwLpq0Dtt2FBy0 KiBltUc27QjXcn2dLASwOSO2jG6hlxQd8/P1EZSNDf9yNGk1/LALmK9eQeXAHSm4akoFnxe04WrP+ ECEFCSfBsJQukW+k0GXtzPbrH/EasYyJ5H95gDWVWw7oOnqE+w+4gxFEmCHvIRlgqMXo=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=4H5y5YMTVOkhfYRqznRwLXkdX9hkSdzFr++vglSqm6k=; b=j CGu7AElsSux/ZhI8y94DtPUmlg7g9FJVqlwF4GP4tKfZ8xUdu17ZIfVAclZiRHQum94lcGclIpCei 9wefnTeXXONffiny209zNg09boYTiElJxG18RWU7ijPAJDId5zP3XBcImnl5k/QSrpinlcBOQ3crJ cYBMEN2NvZsccpao=; Received: from mail-ed1-f44.google.com ([209.85.208.44]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1k96iL-000JJx-Hc for sox-users@lists.sourceforge.net; Fri, 21 Aug 2020 13:04:20 +0000 Received: by mail-ed1-f44.google.com with SMTP id w17so1337016edt.8 for ; Fri, 21 Aug 2020 06:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devialet.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=4H5y5YMTVOkhfYRqznRwLXkdX9hkSdzFr++vglSqm6k=; b=BYp26aQJsgpbxeRSPjKl+i+h/KdR/xaWFaYSeL33egslKYYTSPQ+5aTWHtEsU71w2H kV4jHLPHQY7EpZ3cNtELT2uuvgcZi0WYsHPhGytp4vNDjXYIe11kYJqwpHtIoWFPTcpr 0kW7UuN4rP3e9Qr59itZMekofeQnZgDn2CFMmQEt9hZD4Wz3S/fTzGArZc2Ti2mgds7M Z5Y2ok1bumTwR/Xp0Lh6t/OOblhUkcTrYCFaLNfwrqD9961eirPkKiZIIBIakgYNCuhi h+mgIBn6JClzPDwuZm7kkHuWsJMI6BZUQQyoE6t7YySGqGVZ3QSFdNynW8JmvwoLdQdw B2cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4H5y5YMTVOkhfYRqznRwLXkdX9hkSdzFr++vglSqm6k=; b=HgaoO8rmcLyG/hutXa1ZjBsy3vKSaQ/aKM5oVBkpVwiJKtm1iaPnY8qWOb7vc2Q2L0 NR+XBn2EZucheB6vaZgxyzMTUV+24VV80aXc+50CP14PaakVVY46qOGZf1kZTlE5KvqR 1BFAULBbJlSlnQl6zaT6hJuwQzEKp0Z+vTWgvEG3N4Dkx2dEM+dfMh/JSErodkCXSWeH q4tZt4IYCzlXx77b/0nOygtcOsD1710zt6skeo31QGntt1TUpa3TUkyKqj1o65mHPgsQ pJfIHPrY8HsIvH6SVGzo34PCHrizVe636xDWGC68fzp9CX7DvHPqJsk4lC2wvATVwprP QLhg== X-Gm-Message-State: AOAM531C68+5XgvsVT1xqTJm9OOuE2VTrdXqyYounwvfHR6l+0SeQ5hc TPtQnpEUX75nbfff7ZGAEqqKyrV8m+MM1B6I46mN82JH52sMrz1FSQl9fkgAV+60pyd/VasNA79 f6VARV240xpMMEJuu18fBrPfsp63rBDWepzCG9hqAhGL49A== X-Google-Smtp-Source: ABdhPJwZHfFuxPmypfrbjz94V1N2d3M7rEltpjjUhQXIVtFg0YFpiJjGS41QC0eC+UjVRQpR8+9qbVzq5eNO3nZe+vg= X-Received: by 2002:a05:6512:752:: with SMTP id c18mr1351362lfs.53.1598013243059; Fri, 21 Aug 2020 05:34:03 -0700 (PDT) MIME-Version: 1.0 From: Danijel DOMAZET Date: Fri, 21 Aug 2020 14:33:24 +0200 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1k96iL-000JJx-Hc Subject: manualy setting output as for .s32 extension X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============1735473857440122029==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============1735473857440122029== Content-Type: multipart/alternative; boundary="000000000000b3078a05ad627375" --000000000000b3078a05ad627375 Content-Type: text/plain; charset="UTF-8" Hi SoX users, This command works for me: 1) sox --channels 1 --rate 48000 in_signal.wav in_signal.s32 Now, I'd like to change the output filename extension. In that case SoX can't deduce the format from the extension, so I have to tell it the details. I tried the following line: 2) sox --bits 32 --channels 1 --encoding signed-integer --rate 48000 in_signal.wav --type raw in_signal.q31 However, I am not getting the same output as using the first command. What's done wrong in the second command? Cheers, Danijel Domazet -- - Confidential - --000000000000b3078a05ad627375 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi SoX users,=C2=A0

This com= mand works for me:
1) sox --channels 1 --rate 48000 in_signal.wav= in_signal.s32

Now, I'd like to change the= output filename extension. In that case SoX can't deduce the format fr= om the extension, so I have to tell it the details. I tried the following l= ine:
2) sox --bits 32 --channels 1 --encoding signed-integer --ra= te 48000 in_signal.wav --type raw in_signal.q31

However, I am not getting the same output as using the first command.=C2= =A0

What's done wrong in the second command?= =C2=A0=C2=A0

Cheers,=C2=A0
Danijel Domaz= et


- Confidential -
--000000000000b3078a05ad627375-- --===============1735473857440122029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1735473857440122029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============1735473857440122029==--