everything related to duct tape audio suite (dtas)
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: Rene Maurer <rmnet@mailc.net>
Cc: dtas-all@nongnu.org
Subject: Re: how do you use dtas?
Date: Mon, 7 Dec 2015 04:43:25 +0000	[thread overview]
Message-ID: <20151207044325.GA7481@dcvr.yhbt.net> (raw)
In-Reply-To: <20151206133821.476225e9@loco5>

Rene Maurer <rmnet@mailc.net> 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	other threads:[~2015-12-07  4:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-05  2:00 how do you use dtas? Eric Wong
2015-12-06 12:38 ` Rene Maurer
2015-12-07  4:43   ` Eric Wong [this message]
2015-12-06 17:42 ` Rene Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://80x24.org/dtas/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151207044325.GA7481@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=dtas-all@nongnu.org \
    --cc=rmnet@mailc.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/dtas.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).