Build playlists whose musical properties satisfy constraints across the whole sequence.
Constraints · Variety · Continuity
Overview
François Pachet and Pierre Roy pioneered constraint-based playlist generation at Sony Computer Science Laboratories in the late 1990s. Their approach treats a playlist as a sequence of tracks with properties that apply across the whole sequence, such as variety, continuity, and the distribution of genres or tempos.
Each playlist position is a variable that can take a track from the catalogue. Track metadata supplies attributes such as genre and tempo. A listener can then ask for a playlist that changes gradually in tempo or limits how often an artist appears, without having to choose every track.
The work used a complete solver based on BackTalk and later a local-search solver, CtSolver, for larger catalogues. The Active Listening project describes PathBuilder. Related sequence-generation ideas were also used for Musaicing.
Early papers and prototypes
- A Combinatorial Pattern Generation Approach to Content-Based Music Selection (Sony Research Forum, 1998) · François Pachet’s report on the early RecitalComposer prototype.
- Automatic Generation of Music Programs · Pachet and Roy’s 1999 formulation of music programming as a constraint problem.
- A Combinatorial Approach to Content-Based Music Selection (IEEE ICMCS, 1999) · The conference paper by Pachet, Roy, and Daniel Cazaly.
- A Combinatorial Approach to Content-Based Music Selection (IEEE MultiMedia, 2000) · Pachet, Roy, and Daniel Cazaly’s account of content-based selection for whole sequences.
- Scaling Up Music Playlist Generation (ICME, 2002) · Jean-Julien Aucouturier and Pachet’s use of local search to handle larger catalogues.
The Active Listening project describes PathBuilder and PersonalRadio. The Sony Music Browser paper and Cuidado journal paper place playlist generation in the broader work on browsing large music collections.
The NValue constraint
François Pachet and Pierre Roy introduced the NValue global constraint in Automatic Generation of Music Programs (CP 1999). It counts how many distinct values occur across a set of variables. For a playlist, it can require tracks from at least three different record labels. Pachet and Roy also proposed basic propagators, as they describe in their retrospective on FlowComposer.
The constraint programming community developed the idea further. Nicolas Beldiceanu (2001) developed a pruning algorithm for the at-most variant. Christian Bessière and colleagues (2005) proposed new filtering algorithms for NValue, and later work (2010) showed how to decompose the constraint while retaining bounds consistency.
Subsequent playlist research
- A 2002 ISMIR tutorial singled out the 2000 work as an early example of generating playlists with properties specified from track annotations.
- Pauws, Verhaegh, and Vossen (2008) discussed the constraint formulation and the work on scaling it, then investigated an approach based on simulated annealing.
- Bonnin and Jannach’s survey (2014) reviewed the early papers alongside later methods and ways of evaluating playlists.
- Gabbolini and Bridge’s 2024 survey cites both the RecitalComposer journal paper and Scaling Up Music Playlist Generation in its account of more than two decades of playlist research.
