Playlist

All projectsResearch project

Build playlists whose musical properties satisfy constraints across the whole sequence.

Constraints · Variety · Continuity

Six sleeves selected from a catalogue, spanning three labels, with tempo rising from 78 to 128 BPM.

Illustrative example: six tracks, three labels and a rising tempo. Constraints shape the whole playlist.

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

  1. A Combinatorial Pattern Generation Approach to Content-Based Music Selection (Sony Research Forum, 1998) · François Pachet’s report on the early RecitalComposer prototype.
  2. Automatic Generation of Music Programs · Pachet and Roy’s 1999 formulation of music programming as a constraint problem.
  3. A Combinatorial Approach to Content-Based Music Selection (IEEE ICMCS, 1999) · The conference paper by Pachet, Roy, and Daniel Cazaly.
  4. 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.
  5. 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

Related papers