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.5 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,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 7D2441F66E for ; Thu, 13 Aug 2020 17:45:08 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1k6HHi-0008Jg-BW; Thu, 13 Aug 2020 17:45:02 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6HHg-0008JB-L5 for sox-devel@lists.sourceforge.net; Thu, 13 Aug 2020 17:45:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: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=sargNxaltIHgScVzRbOeH5gTBOL44WB9iQIICfT0xJ0=; b=CUZs1Eysr9A9zrQVQU8Pat7MKe KBoJhZHRJKbZJ6lEFf80LEY4bloD4/kOpzgTDhfIfpllwLY7cvv5Sl/DMD2UcEBWgz8756gb9u1/P bdoLckGblMAxlcKYYSaqVqU/AKrJkE5aY0ZYh1Nu1raylhg56O2ZrWOx5ZcHDxtSs5A8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc: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=sargNxaltIHgScVzRbOeH5gTBOL44WB9iQIICfT0xJ0=; b=G PTKtoo8z69NiHB4Ai9qlEncopGoan6aVva87KFa7QzSUtu8nWQfYmOvwJviGcLRadW8447DkHG0PW tAfeAAjUwbM1tnKBeCIlY4eDm2/wWavRLnpc3DBmO1evwNzJFuTNTr/g2lIjKqlSkXuOzgTey6x9a 2v7JSpHc6FTAoTUc=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1k6HHf-00D45p-57 for sox-devel@lists.sourceforge.net; Thu, 13 Aug 2020 17:45:00 +0000 Received: from raven.mansr.com (raven.mansr.com [81.2.72.235]) by unicorn.mansr.com (Postfix) with ESMTPS id 4D14715360 for ; Thu, 13 Aug 2020 18:44:43 +0100 (BST) Received: by raven.mansr.com (Postfix, from userid 51770) id 2696321A6F2; Thu, 13 Aug 2020 18:44:43 +0100 (BST) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: sox-devel Date: Thu, 13 Aug 2020 18:44:43 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1k6HHf-00D45p-57 Subject: AMR codecs X-BeenThere: sox-devel@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-devel@lists.sourceforge.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-devel-bounces@lists.sourceforge.net Another day, another library mess. The AMR speech codec comes in two variants, wide-band and narrow-band. The only complete implementation I'm aware of is the reference library from 3GPP. Although the code is readily available, using it is somewhat of a legal grey area. It is not generally available as a distro package. Then there is the OpenCORE library[1]. Although in part based on the 3GPP code, it is apparently somehow blessed to make it legal. However, it only includes decoding. Yet another library, vo-amrwbenc, can encode the WB variant but not NB. Both of these tend to have distro packages. SoX has support for both the 3GPP and OpenCORE libraries with an unholy amount of #ifdeffery. It is made extra convoluted by the option to load the libraries using dlopen() rather than linking directly. Whatever shall we do? I'm trying to clean up the build system, and I keep stumbling over these things. On the one hand, I don't like removing features. On the other, the lack of any clean AMRNB encoder suggests that maybe nobody needs one. I am also concerned about the security risks brought on by using unmaintained libraries like these. [1] https://sourceforge.net/projects/opencore-amr/ -- = M=E5ns Rullg=E5rd _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel