minor NLP Mods
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 11 Aug 2010 07:36:20 +0000 (07:36 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 11 Aug 2010 07:36:20 +0000 (07:36 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@164 01035d8c-6547-0410-b346-abe4f91aad63

codec2/unittest/Makefile
codec2/unittest/tnlp.c

index 5c74eb43cfdc23260c7519e04138d091f37e9324..23d7039d0c36a6842a3e29db97d6fc675714f576 100644 (file)
@@ -1,6 +1,6 @@
 CFLAGS = -I. -I../src -I../speex -Wall -g -DFLOATING_POINT -DVAR_ARRAYS
 
-all: genres lsptest genlsp extract vqtrain tnlp tcontphase
+all: genres lsptest genlsp extract vqtrain tnlp tcontphase tmodel
 
 genres: genres.o ../src/lpc.o
        gcc $(CFLAGS) -o genres genres.o ../src/lpc.o -lm
@@ -33,5 +33,8 @@ tnlp: $(TNLP_OBJ)
 tcontphase: $(TCONTPHASE_OBJ)
        gcc $(CFLAGS) -o tcontphase $(TCONTPHASE_OBJ) -lm
 
+tmodel: tmodel.o
+       gcc $(CFLAGS) -o tmodel tmodel.o -lm
+
 %.o : %.c
        $(CC) -c $(CFLAGS) $< -o $@
index dec36bb6a3fe8d2e3d71b67d79c07d999e6fd54c..7254b763d97f179bb05c7b092d41ec8ade40e2a2 100644 (file)
@@ -112,7 +112,7 @@ char *argv[];
     frames = 0;
     prev_Wo = 0;
     while(fread(buf,sizeof(short),N,fin)) {
-      frames++;
+      printf("%d\n", frames++);
 
       /* Update input speech buffers */