Music generation (using markov method)
Soh, Poh Kuan.
Date of Issue2011
School of Computer Engineering
Centre for Multimedia and Network Technology
Beyond solving daily logical problems, this project seeks to employ Artificial Intelligence in music composition, attempting to venture into the deeper regions of understanding of both the cognitive AI and the creative human mind. The report describes the design of an automated music composition system called “Markov Music Generator”, which composes music melodies based on a finite set of existing music phrases designed by a music expert. Using “Markov Chains” as a machine-learning method, the system creates original melodies of the ‘Contemporary Pop’ genre by manipulating the pitch and rhythmic components of music. Modeling after today’s Pop music’s structure, the system is trained by inputs that are classified according to their respective chords. The outputs are then produced by the retrieval of previously trained probabilistic information from Markov’s State Transition Matrices and relevant tables, and generated according to the pre-written chords-sequence, in a successive manner. Within this report, results are presented to show that employing 1st and 2nd Order Markov Chains for the pitch component is able to generate new melodic sequences that are pleasant and diverse, and also able to match the style of the inputs. A separate test setup shows the employing only 1st Order Markov Chains produces better results than using both 1st and 2nd Order ones. Strengths and limitations will also be reviewed. Finally, the report concludes with the discussion of future works that may improve and increase the creativity capacity of the current “Markov Music Generator”.
DRNTU::Engineering::Computer science and engineering
Final Year Project (FYP)
Nanyang Technological University