Back to search

Ludwig-Maximilians-Universität

Algorithmic composition of music in real-time with soft constraints

Abstract

dc:description.abstract

Music has been the subject of formal approaches for a long time, ranging from Pythagoras’ elementary research on tonal systems to J. S. Bach’s elaborate formal composition techniques. Especially in the 20th century, much music was composed based on formal techniques: Algorithmic approaches for composing music were developed by composers like A. Schoenberg as well as in the scientific area. So far, a variety of mathematical techniques have been employed for composing music, e.g. probability models, artificial neural networks or constraint-based reasoning. In the recent time, interactive music systems have become popular: existing songs can be replayed with musical video games and original music can be interactively composed with easy-to-use applications running e.g. on mobile devices. However, applications which algorithmically generate music in real-time based on user interaction are mostly experimental and limited in either interactivity or musicality. There are many enjoyable applications but there are also many opportunities for improvements and novel approaches. The goal of this work is to provide a general and systematic approach for specifying and implementing interactive music systems. We introduce an algebraic framework for interactively composing music in real-time with a reasoning-technique called ‘soft constraints’: this technique allows modeling and solving a large range of problems and is suited particularly well for problems with soft and concurrent optimization goals. Our framework is based on well-known theories for music and soft constraints and allows specifying interactive music systems by declaratively defining ‘how the music should sound’ with respect to both user interaction and musical rules. Based on this core framework, we introduce an approach for interactively generating music similar to existing melodic material. With this approach, musical rules can be defined by playing notes (instead of writing code) in order to make interactively generated melodies comply with a certain musical style. We introduce an implementation of the algebraic framework in .NET and present several concrete applications: ‘The Planets’ is an application controlled by a table-based tangible interface where music can be interactively composed by arranging planet constellations. ‘Fluxus’ is an application geared towards musicians which allows training melodic material that can be used to define musical styles for applications geared towards non-musicians. Based on musical styles trained by the Fluxus sequencer, we introduce a general approach for transforming spatial movements to music and present two concrete applications: the first one is controlled by a touch display, the second one by a motion tracking system. At last, we investigate how interactive music systems can be used in the area of pervasive advertising in general and how our approach can be used to realize ‘interactive advertising jingles’.

Degree

thesis:*
Level thesis:degree_level
thesis.doctoral
Department thesis:degree_department
Fakultät für Mathematik, Informatik und Statistik
Grantor dc:publisher
Ludwig-Maximilians-Universität
Year
2014

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Meier, Max
Advisor dc:contributor.advisor
  • Wirsing, Martin

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • free
Language dc:language.dcterms_iso639_2
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Ludwig Maxmilians Universität München
Base URL
edoc.ub.uni-muenchen.de/cgi/oai2
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Meier, Max. Algorithmic composition of music in real-time with soft constraints. thesis.doctoral thesis, Ludwig-Maximilians-Universität, 2014. https://doi.org/10.5282/edoc.18040