#include <math.h>
/* mate to ampdb, convert amplitude to decibels */

float dbamp(amp)
float amp;
{
	return(20. * log10(amp));
}
