From: drowe67 Date: Sat, 20 Nov 2010 22:25:09 +0000 (+0000) Subject: on Bruce's suggestion changed glottal table to const X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=105e95ab4f81ff85f259efa9e8a8c298d5bcebb1;p=freetel-svn-tracking.git on Bruce's suggestion changed glottal table to const git-svn-id: https://svn.code.sf.net/p/freetel/code@252 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2/octave/glottal.m b/codec2/octave/glottal.m index 2b823c37..23f8df97 100644 --- a/codec2/octave/glottal.m +++ b/codec2/octave/glottal.m @@ -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 diff --git a/codec2/src/glottal.c b/codec2/src/glottal.c index d4117b91..8ac3ff4a 100644 --- a/codec2/src/glottal.c +++ b/codec2/src/glottal.c @@ -1,4 +1,4 @@ -float glottal[]={ +const float glottal[]={ 0.000000, -0.057687, -0.115338,