HarmonicSearch_G723

Searches for the harmonic delay and gain for the harmonic noise shaping filter.

Syntax

IppStatus ippsHarmonicSearch_G723_16s(Ipp16s valOpenDelay, const Ipp16s* pSrcWgtSpch, Ipp16s* pResultHarmonicDelay, Ipp16s* pResultHarmonicGain);

Parameters

valOpenDelay

Open loop pitch, in the range [18,145].

pSrcWgtSpch

Pointer to the weighted speech vector [205]. The pointer points to the 146th element, in Q12.

pResultHarmonicDelay

Pointer to the output harmonic delay.

pResultHarmonicGain

Pointer to the output harmonic gain, in Q15.

Description

The function ippsHarmonicSearch_G723 is declared in the ippsc.h file. This function searches for the harmonic delay and harmonic gain for the harmonic noise shaping filter, using the weighted speech and open loop pitch as input. This function is applied in subframes.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when one of the specified pointers is NULL.

ippStsRangeErr

Indicates an error when valOpenDelay is not in the range [18, 145].

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.