Automatic Music Composition with Simple Probabilistic Generative Grammars

We propose a model to generate music following a linguistic approach. Musical melodies form the training corpus where each of them is considered a phrase of a language. Implementing an unsupervised technique we infer a grammar of this language. We do not use predefined rules. Music generation is based on music knowledge represented by probabilistic matrices, which we call evolutionary matrices because they are changing constantly, even while they are generating new compositions. We show that the information coded by these matrices can be represented at any time by a probabilistic grammar; however we keep the representation of matrices because they are easier to update, while it is possible to keep separated matrices for generation of different elements of expressivity such as velocity, changes of rhythm, or timbre, adding several elements of expressiveness to the automatically generated compositions. We present the melodies generated by our model to a group of subjects and they ranked our compositions among and sometimes above human composed melodies.

[1]  Maarten Grachten,et al.  A case based approach to expressivity-aware tempo transformation , 2006, Machine Learning.

[2]  R. Chapel Realtime Algorithmic Music Systems From Fractals and Chaotic Functions: Toward an Active Musical Instrument , 2003 .

[3]  Peter M. Todd,et al.  Frankensteinian methods for evolutionary music composition , 1999 .

[4]  Eduardo Miranda,et al.  Making Music with Algorithms: A Case-Study System , 1999, Computer Music Journal.

[5]  David Birchfield,et al.  Generative model for the creation of musical emotion, meaning, and form , 2003, ETP '03.

[6]  Alfonso Ortega,et al.  Automatic composition of music by means of grammatical evolution , 2002, APL '02.

[7]  P. Todd,et al.  Musical networks: Parallel distributed perception and performance , 1999 .

[8]  John A. Biles,et al.  GenJam: evolution of a jazz improviser , 2001 .

[9]  Geraint A. Wiggins,et al.  AI Methods for Algorithmic Composition: A Survey, a Critical View and Future Prospects , 1999 .

[10]  Manuel Alfonseca Moreno,et al.  Automatic composition of music by means of grammatical evolution , 2002 .

[11]  Grigori Sidorov,et al.  Recent Advances in Computational Linguistics , 2010, Informatica.

[12]  Wolfram Menzel,et al.  HARMONET: A Neural Net for Harmonizing Chorales in the Style of J. S. Bach , 1991, NIPS.

[13]  Tom Cochrane,et al.  A Simulation Theory of Musical Expressivity , 2010 .

[14]  Alexander F. Gelbukh,et al.  Music Composition Based on Linguistic Approach , 2010, MICAI.

[15]  Tim Blackwell,et al.  Swarming and Music , 2007 .

[16]  Karin Kosina,et al.  MUSIC GENRE RECOGNITION , 2002 .

[17]  Michael Bulmer Music from fractal noise , 2000 .

[18]  J. Schmidhuber,et al.  A First Look at Music Composition using LSTM Recurrent Neural Networks , 2002 .

[19]  M. Minsky Music, Mind, and Meaning , 1981 .

[20]  David De Roure,et al.  A tool for content based navigation of music , 1998, MULTIMEDIA '98.