#include "pitch.h"
float 
getrms(sig)
float *sig;
{
	int step;
	float rms = ZERO ;
	double sqrt();

	for (step=0; step<= LSLICE-1; ++step)
		rms += sig[step]*sig[step];
	return( sqrt((double) (rms / (double) LSLICE) ) );
}
