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, RCVD_IN_MSPIKE_H2,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 4E6A61F4C0 for ; Fri, 1 Nov 2019 22:11:34 +0000 (UTC) Received: from localhost ([::1]:43292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQf8l-0006aE-SS for e@80x24.org; Fri, 01 Nov 2019 18:11:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55746) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQf8C-00067G-9B for dtas-all@nongnu.org; Fri, 01 Nov 2019 18:10:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQf8A-00071I-TI for dtas-all@nongnu.org; Fri, 01 Nov 2019 18:10:55 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:37942) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iQf8A-0006Yn-M6 for dtas-all@nongnu.org; Fri, 01 Nov 2019 18:10:54 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 725DD1F454; Fri, 1 Nov 2019 22:10:48 +0000 (UTC) Date: Fri, 1 Nov 2019 22:10:48 +0000 From: Eric Wong To: Rene Maurer Subject: Re: SOX_OPTS gone? Message-ID: <20191101221048.GA25285@dcvr> References: <87tv7nwufw.fsf@alperose.cumparsita.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87tv7nwufw.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: > Hello > > I have used SOX_OPTS for a long time in the source to add some > effects. For example: dtas-ctl source ed sox env.SOX_OPTS="sinc -850". > > I can see this with dtas-sourceedit sox: > > ,---- > | --- > | command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX > | env: > | SOX_OPTS: sinc -850 > | tryorder: 0 > `---- > > As $SOX_OPTS is (no longer?) in the sinc effect in the given > example is not applied. An a old installation dtas-sourceedit sox gives > me: > > ,---- > | --- > | command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $SOX_OPTS > | env: !!omap > | - SOX_OPTS: sinc -850 > | tryorder: 0 > `---- > > > When I add $SOX_OPTS to the effect works as expected. SOX_OPTS is implemented by sox(1) itself, not dtas. Furthermore, SOX_OPTS is intended for "--" options (e.g. "--no-clobber"), not effects chains such as "sinc". I think you added $SOX_OPTS to "command:" yourself, since I can't find evidence in dtas.git history that ever put $SOX_OPTS in the command-line. > What is the (new) recommended way to add an effect to the > source. dtas-sourceedit isn't an option for me as normally I only use > . You can put arbitrary variables there, such as MYFX, of course: command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $MYFX env: !!omap - MYFX: sinc -850 Btw, I started looking into your auto-pause thing the other day but got sidetracked by Ruby 2.7.0dev problems :< I wish I had written this in Perl5 or even C99...