Edinburgh Speech Tools  2.1-release
Energy and power frame functions
Collaboration diagram for Energy and power frame functions:

Functions

void sig2pow (EST_FVector &frame, float &power)
 
void sig2rms (EST_FVector &frame, float &rms_energy)
 

Detailed Description

Function Documentation

void sig2pow ( EST_FVector frame,
float &  power 
)

Calculate the power for a frame of speech. This is defined as

\[power=\frac{1}{n}\sum_{i=1}^{n}a_{i}^2\]

Definition at line 472 of file sigpr_frame.cc.

void sig2rms ( EST_FVector frame,
float &  rms_energy 
)

Calculate the root mean square energy for a frame of speech. This is defined as

\[energy=\sqrt{\frac{1}{n}\sum_{i=1}^{n}a_{i}^2}\]

Definition at line 481 of file sigpr_frame.cc.