Graduate student Justin Swaney uses machine learning to find the perfect sound