DewDSPMasterNET
TSignalAnalyzer.ZeroCrossing Method

Class
TSignalAnalyzer

Declaration
Procedure ZeroCrossing(var Pos: TSample; out y: TSample);

Description
Compute the position of the zero crossing. The initial position in seconds is given with pos and the final position is returned with the Pos parameter. y contains the final value of the time signal. In ideal case it should be zero. The method will use linear interpolation to locate the position of the zero.

Copyright 2008 Dew Research
http://www.dewresearch.com