Moved analysis functions into C.AudioUtil since they are generic