OpenLoopPitchSearch_AMRWB

Extracts an open-loop pitch lag estimate from the weighted input speech.

Syntax

IppStatus ippsOpenLoopPitchSearch_AMRWB_16s(const Ipp16s* pSrcWgtSpch, const Ipp16s* pSrcFltWgtSpch, Ipp16s* pPrevMidPitchLag, Ipp16s* pAdaptiveParam, Ipp16s* pDstOpenLoopLag, Ipp16s* pToneFlag, Ipp16s* pDstOpenLoopGain, Ipp16s* pSrcDstPrevPitchLag, Ipp16s* pSrcDstLagSwitcher, int len);

Parameters

pSrcWgtSpch

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

pSrcFltWgtSpch

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

pPrevMidPitchLag

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 open-loop pitch lags.

pToneFlag

Pointer to the tone flag for the VAD module.

pDstOpenLoopGain

Pointer to a 2-element vector containing optimal open-loop pitch gains.

pSrcDstPrevPitchLag

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

pSrcDstLagSwitcher

Toggles the lag weighting feature.

len

Length of the frame.

Description

This function is declared in ippsc.h file. The OLP search function ippsOpenLoopPitchSearch_AMRWB extracts a pitch estimate from a weighted version of the input speech.

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.