Machine learning music