Description:This book constitutes the refereed proceedings of the Second International Conference on Music and Artificial Intelligence, ICMAI 2002, held in Edinburgh, Scotland, UK in September 2002.The 16 revised full papers presented together with abstracts of 2 invited talks were carefully reviewed and selected for inclusion in the proceedings. Among the topics addressed are parsing for music and language, patterns in music, musical pattern recognition, visualisation, sound classification, tonal structure representation, musical learning systems, pattern analysis, musical perception, melodic segmentation, and time series analysis.