everything related to duct tape audio suite (dtas)
 help / color / mirror / Atom feed
* [PATCH] source/splitfx: default tracklist for single-track files
@ 2014-12-28 10:56 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2014-12-28 10:56 UTC (permalink / raw)
  To: dtas-all

While the splitfx source is intended for applying effects to
untracked audio files (e.g. transfers of vinyl records or
live concert recordings), it should be useful for applying
effects to an already-tracked recording.
 lib/dtas/source/splitfx.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/dtas/source/splitfx.rb b/lib/dtas/source/splitfx.rb
index fee27fd..2b10e5c 100644
--- a/lib/dtas/source/splitfx.rb
+++ b/lib/dtas/source/splitfx.rb
@@ -35,7 +35,9 @@ class DTAS::Source::SplitFX < DTAS::Source::Sox # :nodoc:
     sfx = DTAS::SplitFX.new
       Dir.chdir(File.dirname(ymlfile)) do # ugh
-        sfx.import(@ymlhash = YAML.load(buf))
+        @ymlhash = YAML.load(buf)
+        @ymlhash['tracks'] ||= [ "t 0 default" ]
+        sfx.import(@ymlhash)
       @splitfx = sfx

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-28 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-28 10:56 [PATCH] source/splitfx: default tracklist for single-track files Eric Wong

everything related to duct tape audio suite (dtas)

This inbox may be cloned and mirrored by anyone:

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

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 dtas-all dtas-all/ https://80x24.org/dtas-all \
	public-inbox-index dtas-all

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git