A I Magazine
A I Magazine
Worldwide AI
Australia
Spain
Carlos Snchez Quintana, Francisco Moreno Arcas, David Albarracn Molina, Jose David Fernndez Rodrguez, Francisco J. Vico
Copyright 2013, Association for the Advancement of Artificial Intelligence. All rights reserved. ISSN 0738-4602
FALL 2013 99
Column
tion. The first result goes back to the origins of AI: the
Illiac Suite, a composition generated by computer
(programmed by Hiller and Isaacson, late in 1956) as
an experiment on the formal aspects of music composition. Since then, many researchers and artists
have got notable results, as David Copes Emily Howell algorithm or Kemal Ebcioglus CHORAL expert
system. Most strategies for computer composing
have focused on imitating preexisting human styles,
but Melomics computer composers shy away from
this trend, providing the system with knowledge
about music composition (as a human learner is
taught), which allows them to create their own styles.
100
AI MAGAZINE
Column
computational creativity: new techniques for automatic character animation (Lobo, Fernndez, and
Vico 2012), and new systems for algorithmic composition.
Computer Composers
Iamus is a computer composer specialized in contemporary classical music. What makes its strategy
unique is that, instead of learning by examples, it is
taught to compose in a way that resembles how
humans learn music composition rules. At its core,
Iamus follows an evo-devo approach, as it combines
an evolutionary algorithm with a sophisticated indirect encoding scheme to map genotypes into phenotypes. In essence, Iamus implements the evolution of
complex musical structures, encoded into artificial
genomes (resembling multicellular living organisms,
which develop from a genome, and also evolve in
time). These genomes represent the musical information in an indirect and very compact way: each
genome encodes the specifications to generate a
music piece following a complex developmental
process. As a population of compositions evolves,
mutations performed on their genomes will provoke
the resulting musical structures to change. A fitness
function evaluates the result, determining if the new
structures are better or worse fitted to musical formal
constraints and basic aesthetic principles. As evolution proceeds, genomes will undergo transformations, making the corresponding music pieces more
and more complex, and better fitted to the requirements.
Artificial development provides very powerful
ways of encoding music pieces. It means a very high
computational cost, but it also opens the way to a
groundbreaking automation of creative tasks. New
fusion genres could be discovered by recombination
operators that merge musical genomes of different
styles, so the offspring might show combined features of the parental genomes, speeding up the
appearance of new hybrid music styles. Also, the
genes encoding a particular jingle could be incorporated into another genome, resulting in compositions with musical fragments that evoke the original
melody that has been inserted in the genome. Finally, a theme could adapt by evolution to certain constraints (based, for example, on a video script). Applications of this kind could go disruptive, if the music
community is provided with efficient tools to implement them. As we will see, doing this is far from simple and constitutes one of the main problems for the
diffusion of AI-based solutions.
In computational creativity, another drawback is
the ill-defined nature of the problems under study. In
the case of Melomics, a fitness function determines
Column
102
AI MAGAZINE
proposal was awarded in the 13th edition of this contest, and started to operate as a technology-based
startup incubated at UMAs spin-off facilities.
Different strategies have been considered by
Melomics Media in order to target the general public.
In principle, client-based music generation could be
implemented by hardware integration of the algorithms, or embedding them in a system on chip
(SoC). These solutions would require a complex control of the parameter space by the user, costly composition and rendering times, and also the distribution of expensive music libraries for audio synthesis.
Instead, Melomics Media adopted an offline
approach: creating a vast repository of music (Infinitunes)2 covering most genres, formats, and needs,
and making it browsable in an efficient way, usable
by a collection of applications, and opened to developers through an API.
Infinitunes contains pieces for direct consumption, to be interpreted by musicians, or used as a
musical base for human composers. Consequently,
the music pieces are presented in a variety of output
formats, to cover these various purposes: music edition (MusicXML and MIDI), human performance
(score in PDF), and playing (quality MP3). MIDI and
MusicXML, standard formats for music representation, can be imported by most notation editors,
which make the music freely modifiable by professional musicians. Scores in PDF format make the
music ready for instrumental performance because
they are easily printable. A file in MP3 format is also
obtained with custom processes for audio synthesis,
using quality music libraries and track mixing to
obtain high-quality results. Finally, the music is
stored and made available to the general public with
a sophisticated interface that allows users to efficiently browse, mark, and buy themes.
Infinitunes is paving the way for brand new applications and business models. For example,
Melomics@life is a mobile application that provides
streamed music for every scenario of daily life, instore audiomarketing, and music therapy. The royalty-free character of these songs makes them available
worldwide, allowing for a wide range of freemium
options (in contrast to the limited options that constrained profit margins allow to companies like Spotify and Pandora Media). However, it also opens possibilities to implement sound trademarking by
matching catchy tunes to products or brands, and
including them (by inserting their genes) into bigger
music pieces. Finally, an API for developers will boost
the implementation of a new class of applications
that were not viable in practice until now.
Concluding Remarks
We hold that artificial intelligence can benefit much
from cross-fertilization with other fields, and the systems described here are but an example. The field of
Column
Acknowledgments
The work on Iamus was partially supported by grants
IPT-300000-2010-010 from the Spanish Ministerio de
Ciencia e Innovacin and TSI-090302-2011-8 from
the Spanish Ministerio de Industria, Turismo y Comercio. The first and fourth authors were supported by
grant P09-TIC-5123 from the Consejera de Innovacin y Ciencia, Junta de Andaluca.
References
Ball, P. 2012. Computer Science: Algorithmic Rapture.
Nature 488(7412): 458.
Berger, K. 2013. 100 Top Stories of 2012. Digital Composer
Records with London Symphony Orchestra. Discover Magazine 24(1).
Browne, C. 2008. Automatic Generation and Evaluation of
Recombination Games. Ph.D. diss., Queensland University
of Technology, Dept. of Computer Science, Brisbane, Australia.
Hornby, G. S.; Lohn, J. D.; and Linden, D. S. 2011. Computer-Automated Evolution of an X-Band Antenna for
NASAs Space Technology Mission. Evolutionary Computation 19(1):123.
Lobo, D.; Fernndez, J. D.; and Vico, F. J. 2012. BehaviorFinding: Morphogenetic Designs Shaped by Function. In
Morphogenetic Engineering: Toward Programmable Complex
Systems, ed. R. Doursat, H. Sayama, and O. Michel, 441
472. Berlin: Springer-Verlag.
Manos, S.; Large, M. C. J.; and Poladian, L. 2007. Evolutionary Design of Single-Mode Microstructured Polymer
Optical Fibres Using an Artificial Embryogeny Representation. In Proceedings of the 9th Annual Genetic and Evolutionary Computation Conference, 25492556. New York: Association for Computing Machinery.
Stanley, K.; and Miikkulainen, R. 2003. A Taxonomy for
Artificial Embryogeny. Artificial Life 9(2):93130.
Carlos Snchez Quintana is a Ph.D. student at the University of Mlaga under the supervision of Francisco J. Vico.
He is investigating new bioinspired techniques for behavior
finding.
Francisco Moreno Arcas, B.Sc. in computer science, is a
senior developer at the University of Mlaga under the
supervision of Francisco Vico, specialized in AI techniques
for automatic music composition and synthesis.
David Albarracn Molina is a Ph.D. student at the University of Mlaga under the supervision of Francisco J. Vico.
His work focuses on bioinspired generative music methods.
Jose David Fernndez Rodrguez is a postdoctoral research
assistant at the University of Mlaga, working in bioinspired algorithmic techniques and biological modeling.
Francisco J. Vico is full professor of computer science at
the University of Mlaga, leader of a research group in
bioinspired algorithmic techniques, and a renowned
authority in artificial creativity.
Notes
1. See selected press coverage at melomics.com/news.
2. See infinitunes.com/search.
3. Term proposed by Matt Peckham in an internal communication.