on Bruce's suggestion changed glottal table to const
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 20 Nov 2010 22:25:09 +0000 (22:25 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 20 Nov 2010 22:25:09 +0000 (22:25 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@252 01035d8c-6547-0410-b346-abe4f91aad63

codec2/octave/glottal.m
codec2/src/glottal.c

index 2b823c37e3f2c65c41f2bbcad04a4030d5147404..23f8df973c7f91b8b00efab530adb58f7b1db303 100644 (file)
@@ -17,7 +17,7 @@ G = fft(kexc);
 plot((1:256)*(4000/256),unwrap(angle(G(1:256))))
 
 f=fopen("glottal.c","wt");
-fprintf(f,"float glottal[]={\n");
+fprintf(f,"const float glottal[]={\n");
 for m=1:255
   fprintf(f,"  %f,\n",angle(G(m)));
 endfor
index d4117b9189c29732dc9659ebb36a32c36a560a69..8ac3ff4a931f3136035b40b9a38a02f4379e3cb1 100644 (file)
@@ -1,4 +1,4 @@
-float glottal[]={
+const float glottal[]={
   0.000000,
   -0.057687,
   -0.115338,