dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do you use dtas?


From: Eric Wong
Subject: Re: how do you use dtas?
Date: Mon, 7 Dec 2015 04:43:25 +0000

Rene Maurer <address@hidden> wrote:
> I use dtas for audio play back over USB.
> 
> Queue only (maybe I will replace this with dtas-tl in the future).

Thank you for that info!

I'm thinking about what to do with the tl (tracklist) stuff.
Some of it seems better-suited for high-level wrappers or
perhaps a separate process (spawned by dtas-player).

Things like removing a track or shuffling can take O(n) time
and have the potential to block a process if people do wacky
things like add 100K songs to the tracklist.

So there'll probably be a (configurable) limit on the
maximum number of tracks to keep performance reasonable.

I'll try to keep the existing command-line usage the same
as much as possible.

> 4. I have planned to use more EQ settings depending on the decade of
> the music (Music from the the thirties (Shellac) differs a lot from the
> music of the fifties (Vinyl) which differs a lot from digital music of
> these days).

You might benefit from using a YAML file like I typically do for
editing.  The only downside is you need to create a YAML file
for each track, but that can be easily scripted, too.

The following YAML file should be playable on dtas 0.10.0 and later
(given an infile matching "foo.flac" in the same directory)

--------------- foo.yml ----------------
---
infile: foo.flac
command:
  sox -M
  "|sox $INFILE -p $TRIMFX $LFX"
  "|sox $INFILE -p $TRIMFX $RFX" $SOXFMT - $CFX stats
env: !omap
  SOX_OPTS: $SOX_OPTS -R --no-clobber --replay-gain=off
  EQ:
    equalizer 2.5k 0.9q -1
    equalizer 4.7k 0.9q -1
    equalizer 15k 0.7071q -3
    equalizer 9.1k 0.9q -1
  FX: gain 4
    $EQ
    highpass 20
  LFX: remix 1v1 gain 0.5 equalizer 60 20h -3 $FX
  RFX: remix 2v1 $FX
  LIMITER_CFX: ladspa -lr tap_limiter -3 2.5
comments:
  ARTIST: some artist
  ALBUM: some album
tracks:
  - t    0:00    "start"
  - t    1:00    "cool part"
  - t    2:00    "boring part"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]