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.2 required=3.0 tests=AWL,BAYES_00, 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 778901F466 for ; Mon, 27 Jan 2020 21:19:32 +0000 (UTC) Received: from localhost ([::1]:51080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwBn9-0005l8-J0 for e@80x24.org; Mon, 27 Jan 2020 16:19:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwBmQ-0004GG-PR for dtas-all@nongnu.org; Mon, 27 Jan 2020 16:18:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwBmP-0002Ms-AG for dtas-all@nongnu.org; Mon, 27 Jan 2020 16:18:46 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:59962) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwBmO-0002L2-Bm for dtas-all@nongnu.org; Mon, 27 Jan 2020 16:18:45 -0500 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id BE4D11F466; Mon, 27 Jan 2020 21:18:38 +0000 (UTC) Date: Mon, 27 Jan 2020 21:18:38 +0000 From: Eric Wong To: James Rowe Subject: Re: Effects that change duration of a track Message-ID: <20200127211838.GA32493@dcvr> References: <20200122002243.7u5anj3r7zt7cue4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200122002243.7u5anj3r7zt7cue4@gmail.com> Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" James Rowe wrote: > Hi, >=20 > So, you=E2=80=99re laying in bed listening to a podcast with an effec= t > that modifies playback length, such as sox=E2=80=99s ``tempo -s 1.9``. = How do > people deal with dtas-console displaying the =E2=80=9Cwrong=E2=80=9D du= ration=C2=B9? Or, is > there a correct way to manage effects that modify track times? It's a known problem. dtas-player_effects(7) manpage does warn against effects which modify track times. dtas would have to know about which sox effects which could alter track time, and there's also LADSPA plugins, too... Things get complicated really fast. 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" > Thanks, >=20 > James >=20 > 1. Laying in bed looking at dtas-console in termux on a phone screen is > hard enough without having to do mental arithmetic ;) Heh. I just never cared about track times too much when just listening to what I'm listening to.