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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 9CC091F55B for ; Sat, 23 May 2020 14:09:39 +0000 (UTC) Received: from localhost ([::1]:38154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcUqI-0004UX-FQ for e@80x24.org; Sat, 23 May 2020 10:09:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcUqH-0004UJ-3n for dtas-all@nongnu.org; Sat, 23 May 2020 10:09:37 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:40883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcUqG-0005Ea-2w for dtas-all@nongnu.org; Sat, 23 May 2020 10:09:36 -0400 Received: by mail-wr1-x433.google.com with SMTP id j16so609190wrb.7 for ; Sat, 23 May 2020 07:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4WrVcbttSJjfLfouxCcL+/+J9FUiHs5Rn8PHMZuJeX8=; b=I8hWXQN1iomP1ITJ6isWnEn4tZ8uIAthRPZv5p61NrSqPd72QJ336i4IHUi+T5qHGx 0v1CYzGI2NjxGsJW6wjnmKo73tE41TxzMGgwm1/WZREAqsD4WKA7J2uT7sFBhU05WLUw RXMYyuPjdWiCd0RDgXxQKpzcN+dNptbQBBEbYDHaSnb4oIGxEKXR7oENOTlsyYnLsn9w e/gdrscLNRcVbWXWfeR4OKl5kPlCyW9wjPkkUUQUgSPyPqhSQYOaLbCokLCaf8fxBR4B KElen/vfXzjx4hfoy8IMXgBobpLgTg7qeMDp9nGDtPYdUWnAOuMmISNwHuEvOTqL6EXu Kgug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4WrVcbttSJjfLfouxCcL+/+J9FUiHs5Rn8PHMZuJeX8=; b=X9EAPUyi1Ax3PdpM2adRy+++hZN9jCFyO/I5uSYWuRaQT9I7JdwZO3xDmC1hC8Vqy8 P/NZ/eLT72CmyveB8g45FKPm+t07DVlupP9vuS6xr0mob7/mMIaT/N+EONoQBmhuWIVF zw67U6rIjhmjiRMqw76dIZexs6rfGlw/knrrRqZE6zDWEVpWdIxGPsQSAFsUcitLPOhk ou7qSk0X6gcV8x1msROYwSkQsVC7uzrSmqg6DF2t+oqPolFHdvJY5iq9yGvPLZzMN7qV Cdlg29pQISzA77TgfRq9rmcoG+mrT0FoUdol5sJ8QlaJaldqWk9Sd6BsKySK3BWznkn+ gF3Q== X-Gm-Message-State: AOAM5337PEswTpSPpXhoFbHjOOuttKQ+CQIBeEnhbQuA7JoT46Ut6I27 Z0I5wJKCt+nYz4Iql6fk06XOUASJ X-Google-Smtp-Source: ABdhPJyfUjPxDOOgG2qhbOLIWG1K3Z04FpN1gdw5n5QOQXe/sxWrOyTzRimGJLIjU+ic3nDOkzlFXA== X-Received: by 2002:adf:a449:: with SMTP id e9mr3965120wra.294.1590242974163; Sat, 23 May 2020 07:09:34 -0700 (PDT) Received: from localhost (188.30.79.168.threembb.co.uk. [188.30.79.168]) by smtp.gmail.com with ESMTPSA id l9sm11273325wrv.32.2020.05.23.07.09.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2020 07:09:33 -0700 (PDT) Date: Sat, 23 May 2020 15:09:29 +0100 From: James Rowe To: dtas-all@nongnu.org Subject: Re: Unwanted trim after source edit Message-ID: <20200523140929.p7af4yqrvvnqs3k4@gmail.com> References: <87d06uc3mz.fsf@alperose.cumparsita.ch> <20200523140525.yprijrqoq6kwilll@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zy5wfmgewyephcto" Content-Disposition: inline In-Reply-To: <20200523140525.yprijrqoq6kwilll@gmail.com> User-Agent: NeoMutt/20180716 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=jnrowe@gmail.com; helo=mail-wr1-x433.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 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" --zy5wfmgewyephcto Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Resent to the list, because I=E2=80=99m a fool. Rene, sorry if you get a dupe.] * Rene Maurer (rm@cumparsita.ch) wrote: > Do I use the source in a completely wrong way (should I use sink instead?= ) or > what is the reason for this trim? The trim exists because sox is restarted when you edit the source in order to apply your changes, you can see this by checking the PID of the running sox command after editing. In order to take in to account your current position in the track when you edited the source the trim effect is added to continue playback from the right place. You can see it in action if you: dtas-ctl play_pause; dtas-ctl play_pause; dtas-ctl current In the large YAML dump it emits you=E2=80=99ll see the TRIMFX setting, and also current_initial value. > Do I use the source in a completely wrong way (should I use sink instead?= ) or > what is the reason for this trim? So =E2=80=94 assuming I=E2=80=99ve read your mail correctly =E2=80=94 you= =E2=80=99ve done nothing wrong at all and are just noticing an implementation detail. Thanks, James --zy5wfmgewyephcto Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOs8mWLxNNfbkcA2v/aPFQqvGjgcFAl7JLpkACgkQ/aPFQqvG jgcLCQ/9E1OJtP0nJaZX9fWdfNp463W5UWZdozmd7Ijuij4tP3Ccvrr9Uc15NtI5 gjVleRwonmPZVEKVFLtpjNfvdnEw6HnqKu2ZTpH58SWb6r4poYQz5s6WfT2oRosp ks/oQ+FjpYpZjoK0AQTHWCYcF2qF4Vh4EenSmUbIxFwNS8o5ko5tsH5IIJDFInCd SNz5cZyqfef9V/EWPkSxL6GlxBkBigmOR00u9f7kM2R8SzyUbQvDNy7pQbm0GEM6 ETV5HNVWBij69yLiMRlUnKFQBKg/T0mSZmcyFfeV70Gg7V4DuvfzbAxcjI2jGY0b 6ZtdnCkVoxvh+HSB12nuXLfveDG4xi/r1ypTM36vJzcdPALeN+aOSA+V30mvxDtF csDs/WV/50pvZszCBYlcA2DauABJuSI2bFA20OyDZmkICg+zLfXXP6L/PGp2zOdD VG6mNnMx2IGrc7NFOBXgLPv8H2IwLCjzwi9hT/hyKeiBs1mejwdAESqvZRSZFKpn dCw67Qmr1MdrehP2TKA3jyBhktBUXsHwGS/j+XaxbWGq+rL7RyaOKtr8r8vqmsz4 rfjVC3yVjnHNKrGudZMCyjZ1TcFnyV1PXKoCA1HeFmyrUKNSy3iPFD+kqy+D3Nbn XlpwGr2oAR40v04YVq9CwMsSTpV5xF9B/o27uFX+OOjoTxjlFQk= =c1XU -----END PGP SIGNATURE----- --zy5wfmgewyephcto--