Community
cancel
Showing results for 
Search instead for 
Did you mean: 
harald85
Beginner
86 Views

Echo and echo level

Hi

I want to use the EC in the kernel mode but the echo has an higher level then the normal signal so I have to decrease the level of the echo. Is there any possibility to do that with the IPP oder did somebody know how i can change the level of an Signal (16 Bit 8KHz)?

Harald
0 Kudos
4 Replies
Vyacheslav_Baranniko
New Contributor II
86 Views

Quoting - harald85
Hi

I want to use the EC in the kernel mode but the echo has an higher level then the normal signal so I have to decrease the level of the echo. Is there any possibility to do that with the IPP oder did somebody know how i can change the level of an Signal (16 Bit 8KHz)?

Harald

Hi

Prior to playing a far end signaloutyou maynormalize it by usingIPP ALC (audio level control) functions:

ippsALCGetStateSize_G169_16s - reports the size of the state memory required for AC algorithm,
ippsALCInit_G169_16s - initializes the state memory of required size allocated by user

ippsALCSetLevel_G169_16s - setstarget (desired)and clipping level in dBm0(with sign dropped).
ippsALCSetGain_G169_16s - sets gain whichcontrols output signal level change rate vsinput. 0 - mingain.

ippsALC_G169_16s - performs ALC.

Vyacheslav, IPP, Speech coding
harald85
Beginner
86 Views

Hi
The function works very well. I use it with the parameters:

ippsALCSetLevel_G169_16s(6.f, 6.f, pALCState);
ippsALCSetGain_G169_16s(0.f ,pALCState);

But know the level is too low. In which function and with which parameter can i choose the level of the file?

Harald



Quoting - vbaranni

Hi

Prior to playing a far end signaloutyou maynormalize it by usingIPP ALC (audio level control) functions:

ippsALCGetStateSize_G169_16s - reports the size of the state memory required for AC algorithm,
ippsALCInit_G169_16s - initializes the state memory of required size allocated by user

ippsALCSetLevel_G169_16s - setstarget (desired)and clipping level in dBm0(with sign dropped).
ippsALCSetGain_G169_16s - sets gain whichcontrols output signal level change rate vsinput. 0 - mingain.

ippsALC_G169_16s - performs ALC.

Vyacheslav, IPP, Speech coding

harald85
Beginner
86 Views

Hi

I changed the parameters for gain and level but the result is always the same. With level 6.f and gain 0.f is the result to low and the Nr clears the signal. So which parameter must I change to increase the level of the result?

THANKS

Harald

Quoting - harald85


Ivan_Ryzhachkin__Int
New Contributor I
86 Views

Quoting - harald85


Hi,
you may try the lower levels. For exampe:

ippsALCSetGain_G169_16s(0.f ,pALCState); //ippsALCSetGain_G169_16s - sets gain which controlsoutput signal level change rate vs input. 0 - min gain.

ippsALCSetLevel_G169_16s(2.f, 2.f, pALCState);//ippsALCSetLevel_G169_16s - sets target (desired) and clipping level in dBm0 (with sign dropped).
Ivan R
Reply