OpenLoopPitchSearch_AMRWBE

Extracts an OLP lag estimate from the weighted input speech.

Syntax

IppStatus ippsOpenLoopPitchSearch_AMRWBE_16s (const Ipp16s* pSrcWgtSpch, const Ipp16s* pSrcFltWgtSpch, Ipp16s* pPrevMedPitchLag, Ipp16s* pAdaptiveParam, Ipp16s* pDstOpenLoopLag, Ipp16s* pToneFlag, Ipp16s* pDstOpenLoopGain, Ipp16s* pSrcDstPrevPitchLag, Ipp16s* pSrcDstLagSwitcher, int len, Ipp16s minPitchLag, Ipp16s maxPitchLag);

Parameters

pSrcWgtSpch

Pointer to a 320-element vector containing perceptually weighted speech.

pSrcFltWgtSpch

Pointer to a 320-element vector containing filtered through high-pass filter perceptually weighted speech.

pPrevMedPitchLag

Pointer to the median filtered pitch lag of the 5 previous voiced speech half-frames.

pAdaptiveParam

Pointer to the adaptive parameter.

pDstOpenLoopLag

Pointer to a two-element vector of OLP lags.

pToneFlag

Pointer to the tone flag for the VAD module.

pDstOpenLoopGain

Pointer to a 2-element vector containing optimal OLP gains.

pSrcDstPrevPitchLag

Pointer to the five-element vector that contains the pitch lags associated with the five most recent voiced speech half-frames.

pSrcDstLagSwitcher

Switches lag weighting on and off.

len

Length of the frame.

minPitchLag

Minimum pitch lag.

maxPitchLag

Maximum pitch lag.

Description

This function is declared in ippsc.h file. The functionality is the same as for the function ippsOpenLoopPitchSearch_AMRWB. The only difference is that the function ippsOpenLoopPitchSearch_AMRWBE has the variable range (minPitchLag <= k <= maxPitchLag) for computation of a windowed auto correlation. With minPitchLag=17 and maxPitchLag=115 these functions are identical.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

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

ippStsSizeErr

Indicates an error when len is less than or equal to zero.

Submit feedback on this help topic

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