everything related to duct tape audio suite (dtas)
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] dtas 0.20.0 - duct tape audio suite for *nix
@ 2022-02-03  5:15  4% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2022-02-03  5:15 UTC (permalink / raw)
  To: dtas-all, ruby-talk

Free Software command-line tools for audio playback, mastering, and
whatever else related to audio.  dtas follows the worse-is-better
philosophy and acts as duct tape to combine existing command-line tools
for flexibility and ease-of-development.  dtas is currently implemented
in Ruby, Perl5, and some embedded shell, but may use other languages in
the future.

Changes:

    dtas 0.20.0 - ruby 3.1+ compatibility, splitfx improvements

    This release catches up with Psych (YAML) changes in Ruby 3.1+
    Ruby 2.3+ is now the minimum version, though keep in mind the
    ruby-core team already dropped support for it long ago.

    Most of the features are focused on audio engineering
    capabilities of dtas-splitfx.  dtas-splitfx gains the --filter
    switch, along with per-track environment variables and comments.
    These new features have made my workflow significantly better.

    dtas-archive supports explicit comments, and omits the default
    SoX comment.  To better cope with temporary and modified files
    during editing, dtas-player metadata now checks ctime before
    reusing the cache, handy for frequently-modified files.
    "dtas-tl prune" is now supported to cull temporary files from
    the player tracklist.

    There's a few dtas-console improvements, too.

    28 changes since v0.19.0 (2021-09-05):

          archive: support comments, default to none
          splitfx: use Etc.nprocessors for jobs if unspecified
          dtas-console: set X11 terminal title iff DISPLAY is set
          dtas-console: add 'i' toggle to show comments (metadata)
          splitfx: fix track_zpad with integer arg
          doc: drop ordered map from examples
          player: reduce syscalls when splicing to single target
          dtas-console: support Wayland terminal titles, too
          console: workaround safe warnings in outdated `curses' gem
          require Ruby 2.3+
          get rid of DTAS.dedupe_str wrapper
          move dtas-graph into script/, support Perl for dtas.sh
          use YAML.unsafe_load in Psych 4.x (Ruby 3.1+)
          deduplicate and freeze pathnames + metadata
          player: remove omap conversion
          dtas: drop unnecessary "require 'yaml'" statements
          dtas-tl prune: cull missing files from tracklist
          dtas-tl: drop encoding hacks, use binary stdout+stderr
          use IO#wait_readable consistently
          get rid of DTAS::Nonblock wrapper for Ruby <= 2.0
          unix_accepted: drop Ruby < 2.3 support code
          do not check IO#closed? before calling IO#close
          splitfx: support per-track environment variables
          splitfx: add --filter option to limit match to comments
          player: expire sox metadata cache on file st_ctime changes
          readahead: do not call -@ on non-String
          splitfx: disallow combining --trim and --filter
          splitfx: document changes ahead of 0.20.0 release

* homepage: https://80x24.org/dtas/
* https://80x24.org/dtas/INSTALL
* https://80x24.org/dtas/dtas-player.txt
* https://80x24.org/dtas/NEWS.atom
* git clone https://80x24.org/dtas.git
* dtas-all@nongnu.org (plain-text only, no HTML mail, please)
* mail archives: https://80x24.org/dtas-all/
  nntps://news.public-inbox.org/inbox.comp.audio.dtas
  imaps://anon:mous@public-inbox.org/inbox.comp.audio.dtas.0
  nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.audio.dtas
  imap://anon:mous@7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.audio.dtas.0
  https://80x24.org/dtas-all/new.atom

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


^ permalink raw reply	[relevance 4%]

* [PATCH 0/4] require Ruby 2.3+, support Ruby 3.1
@ 2022-01-20 18:34  6% Eric Wong
  2022-01-20 18:34  7% ` [PATCH 3/4] move dtas-graph into script/, support Perl for dtas.sh Eric Wong
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2022-01-20 18:34 UTC (permalink / raw)
  To: dtas-all

I figure most workstation and laptop users will have Ruby 2.3+
by now, since the Ruby core team doesn't even support 2.5.

In any case, old versions of dtas remain available for users of
old Rubies; but AFAIK dtas hardly has users atm and isn't likely
to gain more.

Psych 4.x (YAML) distributed with Ruby 3.1 breaks some subtle cases
for us so 4/4 fixes them.

Eric Wong (4):
  require Ruby 2.3+
  get rid of DTAS.dedupe_str wrapper
  move dtas-graph into script/, support Perl for dtas.sh
  use YAML.unsafe_load in Psych 4.x (Ruby 3.1+)

 bin/dtas-console                   |  4 ++--
 bin/dtas-msinkctl                  |  4 ++--
 bin/dtas-partstats                 | 12 +++---------
 bin/dtas-readahead                 | 11 +++++------
 bin/dtas-sinkedit                  |  7 +++----
 bin/dtas-sourceedit                |  7 +++----
 bin/dtas-splitfx                   |  6 +++---
 bin/dtas-tl                        |  4 ++--
 dtas.gemspec                       |  4 ++--
 dtas.sh                            |  7 ++++---
 lib/dtas.rb                        | 28 ++++++----------------------
 lib/dtas/compat_onenine.rb         | 17 -----------------
 lib/dtas/fadefx.rb                 |  4 ++--
 lib/dtas/mlib.rb                   | 12 +++++-------
 lib/dtas/partstats.rb              |  5 ++---
 lib/dtas/pipeline.rb               |  5 +----
 lib/dtas/player.rb                 |  4 ++--
 lib/dtas/player/client_handler.rb  |  6 +++---
 lib/dtas/process.rb                |  3 +--
 lib/dtas/rg_state.rb               |  4 ++--
 lib/dtas/source/av_ff_common.rb    |  6 +++---
 lib/dtas/source/sox.rb             |  6 +++---
 lib/dtas/source/splitfx.rb         |  4 ++--
 lib/dtas/spawn_fix.rb              | 10 ----------
 lib/dtas/state_file.rb             |  4 ++--
 lib/dtas/watchable/fiddle_ino.rb   |  4 ++--
 {perl => script}/dtas-graph        |  2 +-
 test/test_encoding.rb              |  4 ++--
 test/test_format_change.rb         |  4 ++--
 test/test_player_client_handler.rb |  4 ++--
 test/test_player_integration.rb    | 15 +++++++--------
 test/test_rg_integration.rb        | 18 +++++++++---------
 test/test_sink.rb                  |  4 ++--
 test/test_splitfx.rb               |  6 ++----
 test/test_tfx.rb                   |  4 ++--
 35 files changed, 94 insertions(+), 155 deletions(-)
 delete mode 100644 lib/dtas/compat_onenine.rb
 delete mode 100644 lib/dtas/spawn_fix.rb
 rename {perl => script}/dtas-graph (97%)


^ permalink raw reply	[relevance 6%]

* [PATCH 3/4] move dtas-graph into script/, support Perl for dtas.sh
  2022-01-20 18:34  6% [PATCH 0/4] require Ruby 2.3+, support Ruby 3.1 Eric Wong
@ 2022-01-20 18:34  7% ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2022-01-20 18:34 UTC (permalink / raw)
  To: dtas-all

"script/" is the standard location for Perl ExtUtils::MakeMaker-based
installations, so and we'll probably overload "lib" to support Perl
scripts.  This is another step in expanding our use of Perl5 and
avoiding the slow startup and API instability of Ruby.
---
 dtas.sh                     | 7 ++++---
 {perl => script}/dtas-graph | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)
 rename {perl => script}/dtas-graph (97%)

diff --git a/dtas.sh b/dtas.sh
index d3ea5e1..1ceca15 100755
--- a/dtas.sh
+++ b/dtas.sh
@@ -1,7 +1,8 @@
 #!/bin/sh -e
 # symlink this file to a directory in PATH to run dtas (or anything in bin/*)
 # without needing perms to install globally.  Used by "make symlink-install"
-p=$(realpath "$0" || readlink "$0") # neither is POSIX, but common
-p=$(dirname "$p") c=$(basename "$0") # both are POSIX
-exec ${RUBY-ruby} -I"$p"/lib "$p"/bin/"${c%.sh}" "$@"
+p=$(realpath "$0" || readlink "$0"); # neither is POSIX, but common
+p=$(dirname "$p") c=$(basename "$0"); c="${c%.sh}"
+if test -x "$p/bin/$c"; then exec ${RUBY-ruby} -I"$p"/lib "$p/bin/$c" "$@";
+else exec ${PERL-perl} -I"$p"/lib "$p/script/$c" "$@"; fi
 : this script is too short to copyright
diff --git a/perl/dtas-graph b/script/dtas-graph
similarity index 97%
rename from perl/dtas-graph
rename to script/dtas-graph
index 776485d..d918351 100755
--- a/perl/dtas-graph
+++ b/script/dtas-graph
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# Copyright (C) 2013-2020 all contributors <dtas-all@nongnu.org>
+# Copyright (C) all contributors <dtas-all@nongnu.org>
 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 #
 # Process visualizer which shows pipe connections between processes with


^ permalink raw reply related	[relevance 7%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-01-20 18:34  6% [PATCH 0/4] require Ruby 2.3+, support Ruby 3.1 Eric Wong
2022-01-20 18:34  7% ` [PATCH 3/4] move dtas-graph into script/, support Perl for dtas.sh Eric Wong
2022-02-03  5:15  4% [ANN] dtas 0.20.0 - duct tape audio suite for *nix Eric Wong

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).