T253 : Functional Reactive Programming for Real-Time Music Accompaniment
|
Supervision:
|
||||||
|
Research group:
Declarative Languages and Artificial Intelligence
|
||||||
|
Context:
Musicians often use pre-programmed backing tracks, such as drum machines, programmed synthesizers or sequencers. Backing tracks can add a lot of character to a piece of music, but they do not adapt to a musician's performance. Unlike in full ensembles, the accompaniment section therefore guides the solo musician, rather than the other way around. In this thesis, you will use functional reactive programming to develop a system for musical accompaniment which is flexible enough to adapt to the solo musician. Moreover, the system should visualize the metaphor of functional reactive programming in such a way that musicians can easily understand and modify the backing track. Functional reactive programming seems highly suited to this type of problem, as it is based around time-dependent signals and signal functions. Notes can be considered as a time-dependent signal and musical accompaniment, e.g. a drum signal, can be considered a function of this signal, whose output is another signal. For instance, when a solo begins to slow down, it may be desirable for the drum to slow down as well. Some proprietary products for more dynamic music accompaniment currently exist, but the point of this thesis is to explore how well functional reactive programming can model this problem - not to develop a product. |
||||||
|
Aim:
This master thesis has two major goals:
- To establish a catalogue of useful patterns and signal functions for music accompaniment. Example patterns are things such as turnaround chord sequences, or sets of notes at the end of a variable-length solo. Example signal functions are operations such as a tempo change, a musical crescendo, guitar effects pedals, and so on. |
||||||
|
Possible research questions:
- Is the FRP metaphor suited to this form of real-time processing? Is it more modular than the alternatives, and is it fast enough? |
||||||
|
Approach:
The student will first become acquainted with the FRP metaphor through a literature study. They will then become acquainted with specific FRP libraries (e.g. Yampa, Euterpea). Once these are sufficiently understood, visualization of the basic concepts for music accompaniment (e.g. note events on a time axis) will be planned and demonstrated with a simple proof-of-concept. Signal functions will be added next, and their composition as well as application to specific events should be visualized, as well. Once the feasibility of a modular, intuitive visual language has been demonstrated, the real-time constraints will raise the question whether the paradigm is efficient enough for music accompaniment. |
||||||
|
Relevant literature:
- http://www.cs.yale.edu/homes/hudak/CS429F04/AFPLectureNotes.pdf |
||||||
|
Student profile:
Interested in functional programming. Experience with Haskell is very useful (though other functional languages or libraries could work). Basic knowledge of musical concepts is desirable, but not strictly necessary. This topic is for 1 student(s). This topic can be selected by
|
||||||
|
Clusters, in which this topic appears:
|

