That's because the power spectrum includes both the DC and Nyquist
frequency. Now that you mention it, I might as well not include the DC
since the preprocessor gets rid of it anyway.
Jean-Marc
Le mardi 07 juin 2005 ? 21:06 +0200, Kleijn, J.S. de a ?crit
:> Hi Jean-Marc,
>
> For the residue in the echo_cancel function I pass in a pointer to an array
of floats. First I used an array the size of the framesize, but I discovered
this causes crashes because the echo_cancel funtion writes framesize+1 floats to
the pointer.
> I find this plus one strange, since almost all things are exactly the
framesize. Is this an error in the echo_cancel function or simply an exception?
> Maybe you should define in the manual what exactly the residue is, meaning
a float array of which size?
>
> Greetings Jeroen de Kleijn
> _______________________________________________
> Speex-dev mailing list
> Speex-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
--
Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
Universit? de Sherbrooke