Taking advantage of machine learning and pattern recognition in acoustic measurements