WaveSwissKnife 0.0.1.20101110-x86-cygwin → 0.1.0.20110830-x86-cygwin
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +10 -0
- data/LICENSE +1 -1
- data/ReleaseInfo +3 -3
- data/bin/WSK.rb +1 -1
- data/ext/WSK/AnalyzeUtils/AnalyzeUtils.c +1 -1
- data/ext/WSK/AnalyzeUtils/AnalyzeUtils.o +0 -0
- data/ext/WSK/AnalyzeUtils/AnalyzeUtils.so +0 -0
- data/ext/WSK/AnalyzeUtils/Makefile +26 -18
- data/ext/WSK/AnalyzeUtils/build.rb +4 -2
- data/ext/WSK/ArithmUtils/ArithmUtils.c +1 -1
- data/ext/WSK/ArithmUtils/ArithmUtils.o +0 -0
- data/ext/WSK/ArithmUtils/ArithmUtils.so +0 -0
- data/ext/WSK/ArithmUtils/Makefile +26 -18
- data/ext/WSK/ArithmUtils/build.rb +4 -2
- data/ext/WSK/FFTUtils/FFTUtils.c +1 -1
- data/ext/WSK/FFTUtils/FFTUtils.o +0 -0
- data/ext/WSK/FFTUtils/FFTUtils.so +0 -0
- data/ext/WSK/FFTUtils/Makefile +100 -60
- data/ext/WSK/FFTUtils/build.rb +4 -2
- data/ext/WSK/FunctionUtils/FunctionUtils.c +1 -1
- data/ext/WSK/FunctionUtils/FunctionUtils.o +0 -0
- data/ext/WSK/FunctionUtils/FunctionUtils.so +0 -0
- data/ext/WSK/FunctionUtils/Makefile +26 -18
- data/ext/WSK/FunctionUtils/build.rb +4 -2
- data/ext/WSK/SilentUtils/Makefile +26 -18
- data/ext/WSK/SilentUtils/SilentUtils.c +1 -1
- data/ext/WSK/SilentUtils/SilentUtils.o +0 -0
- data/ext/WSK/SilentUtils/SilentUtils.so +0 -0
- data/ext/WSK/SilentUtils/build.rb +4 -2
- data/ext/WSK/VolumeUtils/Makefile +26 -18
- data/ext/WSK/VolumeUtils/VolumeUtils.c +1 -1
- data/ext/WSK/VolumeUtils/VolumeUtils.o +0 -0
- data/ext/WSK/VolumeUtils/VolumeUtils.so +0 -0
- data/ext/WSK/VolumeUtils/build.rb +4 -2
- data/lib/WSK/Actions/Analyze.rb +1 -1
- data/lib/WSK/Actions/ApplyMap.desc.rb +1 -1
- data/lib/WSK/Actions/ApplyMap.rb +1 -1
- data/lib/WSK/Actions/ApplyVolumeFct.desc.rb +1 -1
- data/lib/WSK/Actions/ApplyVolumeFct.rb +1 -1
- data/lib/WSK/Actions/Compare.desc.rb +1 -1
- data/lib/WSK/Actions/Compare.rb +1 -1
- data/lib/WSK/Actions/ConstantCompare.desc.rb +1 -1
- data/lib/WSK/Actions/ConstantCompare.rb +1 -1
- data/lib/WSK/Actions/Cut.desc.rb +1 -1
- data/lib/WSK/Actions/Cut.rb +1 -1
- data/lib/WSK/Actions/CutFirstSignal.desc.rb +1 -1
- data/lib/WSK/Actions/CutFirstSignal.rb +1 -1
- data/lib/WSK/Actions/DCShifter.desc.rb +1 -1
- data/lib/WSK/Actions/DCShifter.rb +1 -1
- data/lib/WSK/Actions/DrawFct.desc.rb +1 -1
- data/lib/WSK/Actions/DrawFct.rb +1 -1
- data/lib/WSK/Actions/FFT.rb +1 -1
- data/lib/WSK/Actions/GenAllValues.rb +1 -1
- data/lib/WSK/Actions/GenConstant.desc.rb +1 -1
- data/lib/WSK/Actions/GenConstant.rb +1 -1
- data/lib/WSK/Actions/GenSawtooth.rb +1 -1
- data/lib/WSK/Actions/GenSine.desc.rb +1 -1
- data/lib/WSK/Actions/GenSine.rb +1 -1
- data/lib/WSK/Actions/Identity.rb +1 -1
- data/lib/WSK/Actions/Mix.desc.rb +1 -1
- data/lib/WSK/Actions/Mix.rb +1 -1
- data/lib/WSK/Actions/Multiply.desc.rb +1 -1
- data/lib/WSK/Actions/Multiply.rb +1 -1
- data/lib/WSK/Actions/NoiseGate.desc.rb +1 -1
- data/lib/WSK/Actions/NoiseGate.rb +1 -1
- data/lib/WSK/Actions/SilenceInserter.desc.rb +1 -1
- data/lib/WSK/Actions/SilenceInserter.rb +1 -1
- data/lib/WSK/Actions/SilenceRemover.desc.rb +1 -1
- data/lib/WSK/Actions/SilenceRemover.rb +1 -1
- data/lib/WSK/Actions/VolumeProfile.desc.rb +1 -1
- data/lib/WSK/Actions/VolumeProfile.rb +1 -1
- data/lib/WSK/Common.rb +1 -1
- data/lib/WSK/FFT.rb +4 -4
- data/lib/WSK/Functions.rb +1 -1
- data/lib/WSK/Launcher.rb +1 -1
- data/lib/WSK/Maps.rb +1 -1
- data/lib/WSK/Model/CachedBufferReader.rb +1 -1
- data/lib/WSK/Model/Header.rb +1 -1
- data/lib/WSK/Model/InputData.rb +1 -1
- data/lib/WSK/Model/RawReader.rb +1 -1
- data/lib/WSK/Model/WaveReader.rb +1 -1
- data/lib/WSK/OutputInterfaces/DirectStream.rb +1 -1
- data/lib/WSK/RIFFReader.rb +1 -1
- metadata +79 -64
- data/TODO +0 -2
@@ -7,32 +7,35 @@ srcdir = .
|
|
7
7
|
topdir = /usr/lib/ruby/1.8/i386-cygwin
|
8
8
|
hdrdir = $(topdir)
|
9
9
|
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
-
prefix = $(DESTDIR)/usr
|
11
10
|
exec_prefix = $(prefix)
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dvidir = $(docdir)
|
16
|
-
datarootdir = $(prefix)/share
|
17
|
-
archdir = $(rubylibdir)/$(arch)
|
18
|
-
sbindir = $(exec_prefix)/sbin
|
11
|
+
prefix = $(DESTDIR)/usr
|
12
|
+
sharedstatedir = $(prefix)/com
|
13
|
+
mandir = $(prefix)/share/man
|
19
14
|
psdir = $(docdir)
|
15
|
+
oldincludedir = $(DESTDIR)/usr/include
|
20
16
|
localedir = $(datarootdir)/locale
|
17
|
+
bindir = $(exec_prefix)/bin
|
18
|
+
libexecdir = $(prefix)/sbin
|
19
|
+
sitedir = $(libdir)/ruby/site_ruby
|
21
20
|
htmldir = $(docdir)
|
22
|
-
|
21
|
+
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
23
22
|
includedir = $(prefix)/include
|
24
23
|
infodir = $(prefix)/share/info
|
24
|
+
vendorlibdir = $(vendordir)/$(ruby_version)
|
25
25
|
sysconfdir = $(DESTDIR)/etc
|
26
|
-
mandir = $(prefix)/share/man
|
27
26
|
libdir = $(exec_prefix)/lib
|
28
|
-
|
29
|
-
|
27
|
+
sbindir = $(exec_prefix)/sbin
|
28
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
29
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
30
|
+
dvidir = $(docdir)
|
31
|
+
vendordir = $(libdir)/ruby/vendor_ruby
|
32
|
+
datarootdir = $(prefix)/share
|
30
33
|
pdfdir = $(docdir)
|
34
|
+
archdir = $(rubylibdir)/$(arch)
|
31
35
|
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
-
|
36
|
+
datadir = $(prefix)/share
|
33
37
|
localstatedir = $(DESTDIR)/var
|
34
38
|
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
-
libexecdir = $(prefix)/sbin
|
36
39
|
|
37
40
|
CC = gcc
|
38
41
|
LIBRUBY = lib$(RUBY_SO_NAME).dll.a
|
@@ -41,11 +44,15 @@ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
|
41
44
|
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
42
45
|
|
43
46
|
RUBY_EXTCONF_H =
|
44
|
-
CFLAGS = -g -O2 -Wall -I/cygdrive/
|
47
|
+
CFLAGS = -g -O2 $(cflags) -Wall -I/cygdrive/c/Env/Source/waveswissknife/git/waveswissknife/external/CommonUtils/include
|
45
48
|
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
46
|
-
|
49
|
+
DEFS =
|
50
|
+
CPPFLAGS = $(DEFS) $(cppflags)
|
47
51
|
CXXFLAGS = $(CFLAGS)
|
48
|
-
|
52
|
+
ldflags = -L. -L/cygdrive/c/Env/Source/waveswissknife/git/waveswissknife/external/CommonUtils/lib -lCommonUtils
|
53
|
+
dldflags = -Wl,--enable-auto-image-base,--enable-auto-import,--export-all
|
54
|
+
archflag =
|
55
|
+
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
49
56
|
LDSHARED = gcc -shared -s
|
50
57
|
AR = ar
|
51
58
|
EXEEXT = .exe
|
@@ -69,7 +76,7 @@ COPY = cp
|
|
69
76
|
preload =
|
70
77
|
|
71
78
|
libpath = . $(libdir)
|
72
|
-
LIBPATH = -L
|
79
|
+
LIBPATH = -L. -L$(libdir)
|
73
80
|
DEFFILE =
|
74
81
|
|
75
82
|
CLEANFILES = mkmf.log
|
@@ -87,6 +94,7 @@ DLLIB = $(TARGET).so
|
|
87
94
|
EXTSTATIC =
|
88
95
|
STATIC_LIB =
|
89
96
|
|
97
|
+
BINDIR = $(bindir)
|
90
98
|
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
91
99
|
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
92
100
|
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2009-
|
2
|
+
# Copyright (c) 2009 - 2011 Muriel Salvan (murielsalvan@users.sourceforge.net)
|
3
3
|
# Licensed under the terms specified in LICENSE file. No warranty is provided.
|
4
4
|
#++
|
5
5
|
|
@@ -15,4 +15,6 @@ lAdditionalLocalLibs.each do |iLibName|
|
|
15
15
|
$LDFLAGS += " -L#{lLibDir}/lib -l#{iLibName} "
|
16
16
|
end
|
17
17
|
create_makefile('SilentUtils')
|
18
|
-
system('make')
|
18
|
+
if (!system('make'))
|
19
|
+
raise RuntimeError.new("Error while running 'make': #{$?}")
|
20
|
+
end
|
@@ -7,32 +7,35 @@ srcdir = .
|
|
7
7
|
topdir = /usr/lib/ruby/1.8/i386-cygwin
|
8
8
|
hdrdir = $(topdir)
|
9
9
|
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
-
prefix = $(DESTDIR)/usr
|
11
10
|
exec_prefix = $(prefix)
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dvidir = $(docdir)
|
16
|
-
datarootdir = $(prefix)/share
|
17
|
-
archdir = $(rubylibdir)/$(arch)
|
18
|
-
sbindir = $(exec_prefix)/sbin
|
11
|
+
prefix = $(DESTDIR)/usr
|
12
|
+
sharedstatedir = $(prefix)/com
|
13
|
+
mandir = $(prefix)/share/man
|
19
14
|
psdir = $(docdir)
|
15
|
+
oldincludedir = $(DESTDIR)/usr/include
|
20
16
|
localedir = $(datarootdir)/locale
|
17
|
+
bindir = $(exec_prefix)/bin
|
18
|
+
libexecdir = $(prefix)/sbin
|
19
|
+
sitedir = $(libdir)/ruby/site_ruby
|
21
20
|
htmldir = $(docdir)
|
22
|
-
|
21
|
+
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
23
22
|
includedir = $(prefix)/include
|
24
23
|
infodir = $(prefix)/share/info
|
24
|
+
vendorlibdir = $(vendordir)/$(ruby_version)
|
25
25
|
sysconfdir = $(DESTDIR)/etc
|
26
|
-
mandir = $(prefix)/share/man
|
27
26
|
libdir = $(exec_prefix)/lib
|
28
|
-
|
29
|
-
|
27
|
+
sbindir = $(exec_prefix)/sbin
|
28
|
+
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
29
|
+
docdir = $(datarootdir)/doc/$(PACKAGE)
|
30
|
+
dvidir = $(docdir)
|
31
|
+
vendordir = $(libdir)/ruby/vendor_ruby
|
32
|
+
datarootdir = $(prefix)/share
|
30
33
|
pdfdir = $(docdir)
|
34
|
+
archdir = $(rubylibdir)/$(arch)
|
31
35
|
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
-
|
36
|
+
datadir = $(prefix)/share
|
33
37
|
localstatedir = $(DESTDIR)/var
|
34
38
|
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
-
libexecdir = $(prefix)/sbin
|
36
39
|
|
37
40
|
CC = gcc
|
38
41
|
LIBRUBY = lib$(RUBY_SO_NAME).dll.a
|
@@ -41,11 +44,15 @@ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
|
|
41
44
|
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
42
45
|
|
43
46
|
RUBY_EXTCONF_H =
|
44
|
-
CFLAGS = -g -O2 -Wall -I/cygdrive/
|
47
|
+
CFLAGS = -g -O2 $(cflags) -Wall -I/cygdrive/c/Env/Source/waveswissknife/git/waveswissknife/external/CommonUtils/include
|
45
48
|
INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
|
46
|
-
|
49
|
+
DEFS =
|
50
|
+
CPPFLAGS = $(DEFS) $(cppflags)
|
47
51
|
CXXFLAGS = $(CFLAGS)
|
48
|
-
|
52
|
+
ldflags = -L. -L/usr/local/lib -lgmp -L/cygdrive/c/Env/Source/waveswissknife/git/waveswissknife/external/CommonUtils/lib -lCommonUtils
|
53
|
+
dldflags = -Wl,--enable-auto-image-base,--enable-auto-import,--export-all
|
54
|
+
archflag =
|
55
|
+
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
49
56
|
LDSHARED = gcc -shared -s
|
50
57
|
AR = ar
|
51
58
|
EXEEXT = .exe
|
@@ -69,7 +76,7 @@ COPY = cp
|
|
69
76
|
preload =
|
70
77
|
|
71
78
|
libpath = . $(libdir)
|
72
|
-
LIBPATH = -L
|
79
|
+
LIBPATH = -L. -L$(libdir)
|
73
80
|
DEFFILE =
|
74
81
|
|
75
82
|
CLEANFILES = mkmf.log
|
@@ -87,6 +94,7 @@ DLLIB = $(TARGET).so
|
|
87
94
|
EXTSTATIC =
|
88
95
|
STATIC_LIB =
|
89
96
|
|
97
|
+
BINDIR = $(bindir)
|
90
98
|
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
91
99
|
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
92
100
|
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2009-
|
2
|
+
# Copyright (c) 2009 - 2011 Muriel Salvan (murielsalvan@users.sourceforge.net)
|
3
3
|
# Licensed under the terms specified in LICENSE file. No warranty is provided.
|
4
4
|
#++
|
5
5
|
|
@@ -17,4 +17,6 @@ lAdditionalLocalLibs.each do |iLibName|
|
|
17
17
|
$LDFLAGS += " -L#{lLibDir}/lib -l#{iLibName} "
|
18
18
|
end
|
19
19
|
create_makefile('VolumeUtils')
|
20
|
-
system('make')
|
20
|
+
if (!system('make'))
|
21
|
+
raise RuntimeError.new("Error while running 'make': #{$?}")
|
22
|
+
end
|
data/lib/WSK/Actions/Analyze.rb
CHANGED
data/lib/WSK/Actions/ApplyMap.rb
CHANGED
data/lib/WSK/Actions/Compare.rb
CHANGED
data/lib/WSK/Actions/Cut.desc.rb
CHANGED
data/lib/WSK/Actions/Cut.rb
CHANGED
data/lib/WSK/Actions/DrawFct.rb
CHANGED
data/lib/WSK/Actions/FFT.rb
CHANGED
data/lib/WSK/Actions/GenSine.rb
CHANGED
data/lib/WSK/Actions/Identity.rb
CHANGED
data/lib/WSK/Actions/Mix.desc.rb
CHANGED
data/lib/WSK/Actions/Mix.rb
CHANGED
data/lib/WSK/Actions/Multiply.rb
CHANGED
data/lib/WSK/Common.rb
CHANGED
data/lib/WSK/FFT.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2009-
|
2
|
+
# Copyright (c) 2009 - 2011 Muriel Salvan (murielsalvan@users.sourceforge.net)
|
3
3
|
# Licensed under the terms specified in LICENSE file. No warranty is provided.
|
4
4
|
#++
|
5
5
|
|
@@ -278,19 +278,19 @@ module WSK
|
|
278
278
|
end
|
279
279
|
|
280
280
|
case rResultCode
|
281
|
-
when 0
|
281
|
+
when 0
|
282
282
|
if (iBackwardsSearch)
|
283
283
|
logDebug "== Previous sample matching FFT before #{iIdxFirstSample} was found at #{rCurrentSample}."
|
284
284
|
else
|
285
285
|
logDebug "== Next sample matching FFT after #{iIdxFirstSample} was found at #{rCurrentSample}."
|
286
286
|
end
|
287
|
-
when 1
|
287
|
+
when 1
|
288
288
|
if (iBackwardsSearch)
|
289
289
|
logDebug "== Previous sample matching FFT before #{iIdxFirstSample} could not be found because a sample exceeded thresholds meanwhile: #{rCurrentSample}."
|
290
290
|
else
|
291
291
|
logDebug "== Next sample matching FFT after #{iIdxFirstSample} could not be found because a sample exceeded thresholds meanwhile: #{rCurrentSample}."
|
292
292
|
end
|
293
|
-
when 2
|
293
|
+
when 2
|
294
294
|
if (iBackwardsSearch)
|
295
295
|
logDebug "== Previous sample matching FFT before #{iIdxFirstSample} could not be found before hitting limit of #{iIdxLastPossibleSample}."
|
296
296
|
else
|
data/lib/WSK/Functions.rb
CHANGED
data/lib/WSK/Launcher.rb
CHANGED
data/lib/WSK/Maps.rb
CHANGED
data/lib/WSK/Model/Header.rb
CHANGED
data/lib/WSK/Model/InputData.rb
CHANGED
data/lib/WSK/Model/RawReader.rb
CHANGED