22 #ifndef _EnvelopeExtractor_
23 #define _EnvelopeExtractor_
68 inline TData AcumulationShape(
int pos);
70 inline TData& Current(
int index);
74 inline void Reconfigure(
int PointsPerFrame,
int MemoryPoints);
78 inline void Clear(
void);
84 inline void Compute(
int interval,
163 TTime mInterpolationPeriodControl;
164 TTime mIntegrationLengthControl;
165 TData mNormalLevelControl;
166 TData mSilenceLevelControl;
192 int NPoints()
const {
return mPointsPerFrame; }
230 TTime mInterpolationPeriod;
232 TTime mIntegrationLength;
255 TData mIpMin, mIpFactor,
260 bool SetPointsPerFrame(
int npoints);
261 bool SetInterpolationPeriod(
TTime period);
262 void SetNMemoryPoints(
int mpoints);
263 bool SetIntegrationLength(
TTime length);
264 void SetNormalLevel(
TData nlevel);
265 void SetSilenceLevel(
TData slevel);
269 bool ConcreteStart();
275 void StoreInterpolationPoints();
279 void InitializeControls();