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=-3.7 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 F0F501F55B for ; Sat, 23 May 2020 11:06:17 +0000 (UTC) Received: from localhost ([::1]:50486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcRyq-0004KK-Pv for e@80x24.org; Sat, 23 May 2020 07:06:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcRyg-0004BK-B0 for dtas-all@nongnu.org; Sat, 23 May 2020 07:06:06 -0400 Received: from sabic.uberspace.de ([185.26.156.23]:55970) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcRyf-0008TT-4J for dtas-all@nongnu.org; Sat, 23 May 2020 07:06:05 -0400 Received: (qmail 1337 invoked from network); 23 May 2020 11:05:58 -0000 Received: from localhost (HELO alperose) (127.0.0.1) by sabic.uberspace.de with SMTP; 23 May 2020 11:05:58 -0000 From: Rene Maurer To: dtas-all@nongnu.org Subject: Unwanted trim after source edit User-Agent: notmuch Date: Sat, 23 May 2020 13:05:56 +0200 Message-ID: <87d06uc3mz.fsf@alperose.cumparsita.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=185.26.156.23; envelope-from=rm@cumparsita.ch; helo=sabic.uberspace.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/23 07:05:59 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 autolearn=_AUTOLEARN X-Spam_action: no action 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" Hello I have added an additional parameter (LPASS) to the sox source using "dtas-sourceedit sox". After this my sox source is as follows: --- command: exec sox "$INFILE" $SOXFMT - $TRIMFX $RGFX $LPASS env: LPASS: sinc 0-900 tryorder: 0 When I now add a song to the queue with dtas-enq, the applied filter works = and I can see it with ps: pts/1 SL 0:00 play -q -ts32 -c2 -r44100 - pts/1 S 0:00 sox /home/x/ori.flac -ts32 -c2 -r44100 - sinc 0-900 When I change the additional parameter (LPASS) while a song is played the applied filter changes but in the output of ps I see that also some kind of trim is active: pts/1 SL 0:01 play -q -ts32 -c2 -r44100 - pts/1 S 0:00 sox /home/x/ori.flac -ts32 -c2 -r44100 - trim 1228800s sinc= 0-999 This happens when I use "dtas-sourceedit sox" and also when I use "dtas-ctl source ed sox env.LPASS=3D"sinc 0-999=E2=80=9D=E2=80=9D to change the param= eter. Do I use the source in a completely wrong way (should I use sink instead?) = or what is the reason for this trim? Thanks Ren=C3=A9