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
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 $@
frames = 0;
prev_Wo = 0;
while(fread(buf,sizeof(short),N,fin)) {
- frames++;
+ printf("%d\n", frames++);
/* Update input speech buffers */