From 8ebf63afe8c9af13868376e7618c840517618076 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 7 Sep 2013 12:18:45 +0000 Subject: add dtas-splitfx - .cuesheets + make(1) This is lacking tests and documentation, but it works from a old trivial sample I had from a recording I previously split using plain POSIX shell splitfx is like make(1) for splitting and minor audio editing. It also allows any number of effects. --- test/test_splitfx.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/test_splitfx.rb (limited to 'test') diff --git a/test/test_splitfx.rb b/test/test_splitfx.rb new file mode 100644 index 0000000..1d36c54 --- /dev/null +++ b/test/test_splitfx.rb @@ -0,0 +1,14 @@ +# Copyright (C) 2013, Eric Wong and all contributors +# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +require './test/helper' +require 'dtas/splitfx' + +class TestSplitfx < Testcase + def test_cdda + sfx = DTAS::SplitFX.new + sfx.instance_eval do + @infmt = DTAS::Format.load("rate"=>44100) + end + assert_equal 118554000, sfx.t2s_cdda('44:48.3') + end +end -- cgit v1.2.3-24-ge0c7