patch attached.
alaw has better quality than scratchy gsm ;)
+ better remove the MT dir and rename wav dir to "en" to match CW 1.2 standard
setup.
ok? pls check.
y
tom
Index: trunk/debian/rules
===================================================================
--- trunk/debian/rules (Revision 4595)
+++ trunk/debian/rules (Arbeitskopie)
@@ -31,7 +31,7 @@
dh_testroot
dh_clean -k
chmod u+x ./install
- ./install --prefix=$(CURDIR)/debian/callweaver-sounds/usr/share/callweaver.org
+ ./install --prefix=$(CURDIR)/debian/callweaver-sounds/usr/share/callweaver
binary-indep: build-stamp install
dh_testdir
Index: trunk/install
===================================================================
--- trunk/install (Revision 4595)
+++ trunk/install (Arbeitskopie)
@@ -14,9 +14,15 @@
mkdir -p $PREFIX/sounds
for file in `find sounds/* -name *.gsm`; do
- #echo $file
+ echo $file
DIR=`dirname $file`
mkdir -p $PREFIX/$DIR
cp -p $file $PREFIX/$DIR
done
+for file in `find sounds/* -name *.alaw`; do
+ echo $file
+ DIR=`dirname $file`
+ mkdir -p $PREFIX/$DIR
+ cp -p $file $PREFIX/$DIR
+done
Index: trunk/Makefile
===================================================================
--- trunk/Makefile (Revision 4595)
+++ trunk/Makefile (Arbeitskopie)
@@ -4,7 +4,8 @@
out=`echo $$file|sed -e s!\.wav!.gsm!`; \
if [ ! -f $$out ]; then \
echo Processing $$file;\
- sox -q $$file -t gsm -r 8000 -c 1 -b $$out resample -ql; \
+ sox -q $$file -t gsm -r 8000 -c 1 -b $$out resample -ql; \
+ sox -q $$file -t raw -A -r 8000 -c 1 -b `echo $$file|sed -e s/\.wav$$/.alaw/` resample -ql; \
else \
echo Skipping $$file;\
fi; \
@@ -18,6 +19,7 @@
clean:
for FILE in `find -name *.gsm`; do rm $$FILE; done
+ for FILE in `find -name *.alaw`; do rm $$FILE; done
_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev