[Speex-dev] Clarification of the AEC parameters

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Dec 22 20:48:07 PST 2009


The frame size is the amount of audio you process with every call, so it 
has an obvious impact on latency. In general, the longer the frame size, 
the lower the CPU usage. However, it also means slower adaptation. In 
general a frame size around 5-20 ms is usually a good choice.

	Jean-Marc

On 16/12/09 12:47, Marco Pierleoni wrote:
> Hi,
>
> I would like to have some more information about the parameter of
> speex_echo_state_init.
> I have a clear idea of the importance of the filter_length in the echo
> cancellation, what it is more obscure for me is the role of frame_size
> and how its value affect the algorithm.
> Let use, for example, frame_size = 400, would I obtain the same result
> of using frame_size = 200 but with half method call?
> Is it this value important for obtaining a smaller time to let the
> filter adapt? or filter adapting depends only on the ratio
> frame_size/filter_length?
>
> I will be grateful for every more info that you can give me in order to
> understand better the role of frame_size algorithm.
>
> Marco Pierleoni
>
>
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list