[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Speex AEC in WB mode linphone 1.4.0
From: |
Jean-Christophe . Berge |
Subject: |
Re: [Linphone-developers] Speex AEC in WB mode linphone 1.4.0 |
Date: |
Thu, 21 Sep 2006 15:01:58 +0200 (CEST) |
User-agent: |
SquirrelMail/1.5.0 |
Hello, thank you for your answer,
I just changed these lines :
In speex source, mdf.c :
/* FIXME: Make that an init option (new API call?) */
st->sampling_rate = 8000;
by
st->sampling_rate = 16000;
AND
In speexec.c
static const int framesize=256;
static const int filter_length=4096;
And the echo cancellation works great in WB with linphone !
We could make this change dynamic with :
spx_int32_t tmp = 16000;
speex_echo_ctl(echo_state, SPEEX_ECHO_SET_SAMPLING_RATE, &tmp);
JC.
> Hello,
>
> I've never tried the echo canceler in wideband mode.
> Is it known to work ?
> In speex source, mdf.c I can read:
> /* FIXME: Make that an init option (new API call?) */
> st->sampling_rate = 8000;
>
> Probably the 16000Hz is not supported.
> You should ask speex author (Jean Marc Valin) to have more precise
> information.
>
> Simon
>
> Le mercredi 20 septembre 2006 10:10, address@hidden
> a
> écrit :
>> Hello,(It is my first post)
>>
>> I just tried the latest linphone version (1.4.0) which include Speex NB
>> and WB and the possibility to use speex AEC.
>>
>> Unfortunatly, I found that the AEC does not work well with WB mode.
>> (it seams like the AEC cut the wrong signal !)
>>
>> Does anybady succeed in making the AEC working with speex WB ?
>>
>> I found that the use of a tail length of 2048 and a framesize of 128 to
>> initialize the AEC seems to be too short for WB mode. thus, as
>> recommended
>> in the speex manual, I replaced them with a 3200 tail length and a 320
>> frame size.
>> I also modified in "speex_ec_init"
>> s->den = speex_preprocess_state_init(s->framesize, 16000); (WB mode...)
>>
>> But it still doesn't work...
>>
>> Does anybody have an idea of how to make this speex AEC work in WB mode
>> ?
>>
>> Thanks for your help
>> Sorry for my English
>>
>>
>> _______________________________________________
>> Linphone-developers mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/linphone-developers
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
>