From: drowe67 Date: Wed, 11 Aug 2010 07:36:20 +0000 (+0000) Subject: minor NLP Mods X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=eeef3cd65f19dd6ccf0c5c6383a2bfd1913d7f81;p=freetel-svn-tracking.git minor NLP Mods git-svn-id: https://svn.code.sf.net/p/freetel/code@164 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2/unittest/Makefile b/codec2/unittest/Makefile index 5c74eb43..23d7039d 100644 --- a/codec2/unittest/Makefile +++ b/codec2/unittest/Makefile @@ -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 $@ diff --git a/codec2/unittest/tnlp.c b/codec2/unittest/tnlp.c index dec36bb6..7254b763 100644 --- a/codec2/unittest/tnlp.c +++ b/codec2/unittest/tnlp.c @@ -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 */