The ways in which we store and recall information, especially with regard to musical elements such as melodies or rhythms.