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.18.1 - duct tape audio suite for *nix
@ 2021-02-13 21:59  4% Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2021-02-13 21:59 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 (and some embedded shell), but may use other languages in the
future.

Changes:

    Mainly seek improvements to dtas-player.  The fallback to use
    charlock-holmes for strangely-encoded files is fixed.

    7 changes since 0.18.0 (2020-02-03):

          splitfx: reduce syscalls for writing comments file
          splitfx: support --err-suffix option
          player: fix +/- directional seeks while paused
          README: update and add more URLs for archives
          encoding: use CharlockHolmes properly on first run
          dtas-console: gracefully handle seek failures
          INSTALL: update dependencies for current Debian stable

* 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://ou63pmih66umazou.onion/inbox.comp.audio.dtas
  imap://anon:mous@ou63pmih66umazou.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 1/2] splitfx: reduce syscalls for writing comments file
  2020-04-09 20:12  4% [PATCH 0/2] some splitfx improvements Eric Wong
@ 2020-04-09 20:12  7% ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2020-04-09 20:12 UTC (permalink / raw)
  To: dtas-all

We can flush when all comments are buffered to avoid a writev(2)
syscall on every comment.
---
 lib/dtas/splitfx.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index 8ad919e..384df0f 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -207,11 +207,11 @@ def splitfx_spawn(target, t, opts)
       env["DITHERFX"] = "dither -s"
     end
     comments = Tempfile.new(%W(dtas-splitfx-#{t.comments["TRACKNUMBER"]} .txt))
-    comments.sync = true
     t.comments.each do |k,v|
       env[k] = v.to_s
       comments.puts("#{k}=#{v}")
     end
+    comments.flush
     env["COMMENTS"] = "--comment-file=#{comments.path}"
     infile_env(env, @infile)
     outarg = outfmt.to_sox_arg


^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] some splitfx improvements
@ 2020-04-09 20:12  4% Eric Wong
  2020-04-09 20:12  7% ` [PATCH 1/2] splitfx: reduce syscalls for writing comments file Eric Wong
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2020-04-09 20:12 UTC (permalink / raw)
  To: dtas-all

Eric Wong (2):
  splitfx: reduce syscalls for writing comments file
  splitfx: support --err-suffix option

 Documentation/dtas-splitfx.pod | 6 ++++++
 bin/dtas-splitfx               | 7 +++++++
 lib/dtas/splitfx.rb            | 7 +++++--
 3 files changed, 18 insertions(+), 2 deletions(-)


^ permalink raw reply	[relevance 4%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-04-09 20:12  4% [PATCH 0/2] some splitfx improvements Eric Wong
2020-04-09 20:12  7% ` [PATCH 1/2] splitfx: reduce syscalls for writing comments file Eric Wong
2021-02-13 21:59  4% [ANN] dtas 0.18.1 - 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).