everything related to duct tape audio suite (dtas)
 help / color / Atom feed
* Effects that change duration of a track
@ 2020-01-22  0:22 James Rowe
  2020-01-27 21:18 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: James Rowe @ 2020-01-22  0:22 UTC (permalink / raw)
  To: dtas-all

Hi,

  So, you’re laying in bed listening to a podcast with an effect
that modifies playback length, such as sox’s ``tempo -s 1.9``.  How do
people deal with dtas-console displaying the “wrong” duration¹?  Or, is
there a correct way to manage effects that modify track times?

Thanks,

James

1. Laying in bed looking at dtas-console in termux on a phone screen is
   hard enough without having to do mental arithmetic ;)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Effects that change duration of a track
  2020-01-22  0:22 Effects that change duration of a track James Rowe
@ 2020-01-27 21:18 ` Eric Wong
  2020-01-30 16:49   ` James Rowe
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2020-01-27 21:18 UTC (permalink / raw)
  To: James Rowe; +Cc: dtas-all

James Rowe <jnrowe@gmail.com> wrote:
> Hi,
> 
>   So, you’re laying in bed listening to a podcast with an effect
> that modifies playback length, such as sox’s ``tempo -s 1.9``.  How do
> people deal with dtas-console displaying the “wrong” duration¹?  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,
> 
> James
> 
> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Effects that change duration of a track
  2020-01-27 21:18 ` Eric Wong
@ 2020-01-30 16:49   ` James Rowe
  0 siblings, 0 replies; 3+ messages in thread
From: James Rowe @ 2020-01-30 16:49 UTC (permalink / raw)
  To: Eric Wong; +Cc: 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-22  0:22 Effects that change duration of a track James Rowe
2020-01-27 21:18 ` Eric Wong
2020-01-30 16:49   ` James Rowe

everything related to duct tape audio suite (dtas)

Archives are clonable:
	git clone --mirror https://80x24.org/dtas-all
	git clone --mirror http://ou63pmih66umazou.onion/dtas-all

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.dtas
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git