Cortical learning algorithm for music classification.