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=-4.0 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_LOW, 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 932E01F466 for ; Thu, 30 Jan 2020 16:49:59 +0000 (UTC) Received: from localhost ([::1]:36018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixD0w-00066z-9i for e@80x24.org; Thu, 30 Jan 2020 11:49:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57630) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixD0t-00064X-P5 for dtas-all@nongnu.org; Thu, 30 Jan 2020 11:49:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixD0s-0005to-PK for dtas-all@nongnu.org; Thu, 30 Jan 2020 11:49:55 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:37251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixD0s-0005sL-JC for dtas-all@nongnu.org; Thu, 30 Jan 2020 11:49:54 -0500 Received: by mail-wm1-x32a.google.com with SMTP id f129so5089005wmf.2 for ; Thu, 30 Jan 2020 08:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rHEqfFtiyg3ZYbry6oxXpBfsNA9vdfdvFmMXXvPg7OY=; b=Q2BGp3I8GHHRYjLhC6PVGLgrOrCS9K/Nj375d6c3dkysLAmMz68+gWbwVqdyCWL5OD bphF/UzSl7z7xIUHbVaSAiFOygVd5s//uDcAclgc0ICx/d9QtGYmQHw/XZfxZ3rELEh7 oW7IopBY+MrQWe9NtwBKECiQhS9Mx+P7zYwrf8v7Io3NRIptQux5cFjige0M28N5FO9J VZbO7icJtTdt1ZwpjuGgJ56rWljLl11h/DK2ltS/MA2qD5KiWwzi4ThMctrZF1xUkDD8 ayocHVGB/Bfj1yVorwMdJrRSZfyRWFYSyl7cB46ndN4SLwxNbxTazF7fBz33Gs5ZeEth s1xw== 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:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=rHEqfFtiyg3ZYbry6oxXpBfsNA9vdfdvFmMXXvPg7OY=; b=lloq/VRYRHko1JOKLrWgbjV+KSCTAVGF4h4KV3EzEcepCBfhFdGuLlc9Hygp2rUXXg +GxFp+MCYhtkNd8CQmptePe61d4zrdxx9/9uhRxiO+/BaYBYp9V6Ggc9jZqRPgUnD8C7 xafa9dSqU7AiFh5UTriOtx8hfCWmvYauBz4lOvfzhE76WAcgPx31IKJrGYows83bJScA NC/ToiRg54nTfTyCmnvz1JZHWI60p84/UY+04XqLTZCFFIRxNNDxvo6yT7jf3xqeK2eh gPmQvxU8qOUFFjd/Rhnkj19PhADOvG701Lh3fMghh5nJPBRboc0z72Mlsfq/toDjOGGW FOLg== X-Gm-Message-State: APjAAAUZ7wFbmD6PNM0Je8RVkpCHBkDKbCeEd/ROlS8D6wW3EykZq2Cd IknOJO6PyVJBcdpj24ZnAykJc184MzA= X-Google-Smtp-Source: APXvYqz65wsvpYoydFfXT55V8/iBEPuImazKdmzaKy3UCvowHXtYE1E5LqwGPEK4eeIawUnhXoMnFA== X-Received: by 2002:a7b:c935:: with SMTP id h21mr6359215wml.173.1580402992888; Thu, 30 Jan 2020 08:49:52 -0800 (PST) Received: from localhost (188.28.149.16.threembb.co.uk. [188.28.149.16]) by smtp.gmail.com with ESMTPSA id c74sm3170041wmd.26.2020.01.30.08.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 08:49:52 -0800 (PST) Date: Thu, 30 Jan 2020 16:49:49 +0000 From: James Rowe To: Eric Wong Subject: Re: Effects that change duration of a track Message-ID: <20200130164949.d6pecxayhundabwk@gmail.com> References: <20200122002243.7u5anj3r7zt7cue4@gmail.com> <20200127211838.GA32493@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200127211838.GA32493@dcvr> User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32a 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 X-Mailman-Copy: yes Errors-To: dtas-all-bounces+e=80x24.org@nongnu.org Sender: "dtas-all" * Eric Wong (e@80x24.org) wrote: > [Great explanation] Okay, thanks for the detailed explanation. I hadn’t considered the issues that deeply. FWIW, I’ve opted for a cheap hack that Works For Me™ with the simple modifiers like tempo. Simply calculating the current time as the ``track_length * (current_offset/current_expect)``, and displaying it with a dzen2¹ widget. > Another solution would be similar to what we do for trim/volume > ReplayGain and expose a parameter/effect which dtas itself will > use to inject "tempo" into the effects chain. It covers the > majority of cases like yours, I think; but doesn't cover effects > like "splice" or "vad" I’ll note that it doesn’t concern me enough to write the patch myself, so I’m clearly not that stressed by it. Thanks, James 1. https://github.com/robm/dzen