You are on page 1of 10

PRINCIPLES AND APPLICATIONS OF INTERACTIVE CORPUS-BASED

CONCATENATIVE SYNTHESIS

Diemo Schwarz Roland Cahen Sam Britton


Ircam – Centre Pompidou ENSCI Composer
Paris Paris London

ABSTRACT real-time, this allows to browse and explore a corpus of


sounds interactively.
Corpus-based concatenative synthesis plays grains from a
Corpus-based concatenative synthesis allows new mu-
large corpus of segmented and descriptor-analysed sounds
sical ideas to be experimented by the novel concepts it
according to proximity to a target position in the descrip-
proposes of re-arranging, interaction with self-recorded
tor space. This can be seen as a content-based extension
sound, composition by navigation, cross-selection and in-
to granular synthesis providing direct access to specific
terpolation, and corpus-based orchestration, which are in-
sound characteristics. The interactive concatenative sound
troduced below [33]. These concepts will be expanded
synthesis system C ATA RT that realises real-time corpus-
by giving concrete musical applications in four musical
based concatenative synthesis is implemented as a collec-
compositions and performances in section 5.4. The use of
tion of Max/MSP patches using the FTM library. C ATA RT
these concepts and conlusions that can be drawn will then
allows to explore the corpus interactively or via a written
be discussed in section 7.
target score, to resynthesise an audio file or live input with
the source sounds. We will show musical applications of Re-arranging (5.4.1) is at the very base of corpus-based
pieces that explore the new concepts made possible by concatenative synthesis: units from the corpus are
corpus-based concatenative synthesis. re-arranged by other rules than the temporal order
of their original recordings, such as given evolu-
1. INTRODUCTION tions of sound characteristics, e.g. pitch and bril-
liance.
The recent concept of corpus-based concatenative sound
synthesis [31] is beginning to find its way in musical Interaction with self-recorded sound (5.4.2). By con-
composition and performance. It permits to create music stituting a corpus, live- or prerecorded sound of a
by selecting snippets of a large database of pre-recorded musician is available for interaction with a musi-
sound by navigating through a space where each snippet cal meaning beyond simple repetition of notes or
takes up a place according to its sonic character, such as phrases in delays or loops.
pitch, loudness, brilliance. This allows to explore a corpus
of sounds interactively, or by composing this path, and to Composition by navigation (5.4.3) through heterogen-
create novel harmonic, melodic and timbral structures. eous sound databases allows to exploit the richness
The database of source sounds is segmented into short of detail of recorded sound while retaining efficient
units, and a unit selection algorithm finds the sequence of control of the acoustic result by using perceptually
units that match best the sound or phrase to be synthesised, and musically meaningful descriptors to specify a
called the target. The selection is performed according to target in the multi-dimensional descriptor space.
the descriptors of the units, which are characteristics ex- Cross-selection and interpolation (5.4.4). The selec-
tracted from the source sounds, or higher level meta-data tion target can be applied from a different corpus,
attributed to them. The selected units are then concate- or from live input, thus allowing to extract and ap-
nated and played, after possibly some transformations. ply certain sound characteristics from one corpus to
These methods allow various applications, such as another, and morphing between distinct sound cor-
high level instrument synthesis, resynthesis of audio, also pora.
called mosaicing, texture and ambience synthesis, and in-
teractive explorative synthesis in different variants, which Corpus-based orchestration (5.4.5). By descriptor or-
is the main application of the C ATA RT synthesis system. ganisation and grouping possibilities of the corpora,
Explorative real-time synthesis from heterogeneous a mass of sounds can be exploited while still retain-
sound databases allows a sound composer to exploit the ing precise control over the sonic result, in order to
richness of detail of recorded sound while retaining effi- insert it into a composition.
cient control of the acoustic result by using perceptually
meaningful descriptors to specify a target in the multi- The C ATA RT software system [32] realises corpus-
dimensional descriptor space. If the selection happens in based concatenative synthesis in real-time, inheriting also
from granular synthesis while adding the possibility to These historical approaches to musical composition
play grains having specific acoustic characteristics, thus use selection by hand with completely subjective man-
surpassing its limited selection possibilities, where the ual analysis, starting with the Musique Concrète of the
only control is position in one single sound file. C ATA RT Groupe de Recherche Musicale (GRM) of Pierre Schaef-
is implemented as a collection of patches for Max/MSP 1 fer, tried by Karlheinz Stockhausen in the notorious Étude
using the FTM, Gabor, and MnM extensions 2 [25, 26, 7]. des 1000 collants (study with one thousand pieces) of
C ATA RT is released as free open source software under 1952 [24, 19] and applied rather nicely by John Cage to
the GNU general public license (GPL) 3 at http://imtr. Williams Mix (1953) prescribing a corpus of about 600
ircam.fr. recordings in 6 categories.
After an overview of previous and related work in sec- More recently, John Oswald’s Plunderphonics pushed
tion 2, we present C ATA RT’s underlying model in sec- manual corpus-based concateative synthesis to its parox-
tion 3. The object-oriented software architecture is de- ysm in Plexure, made up from thousands of snippets from
tailed in section 4, followed by musical applications in a decade of US Top40 songs [20, 11].
section 5, and sections 6 and 7 will give an outlook of
future work and a conclusion.
2.2. Caterpillar

2. PREVIOUS AND RELATED WORK Caterpillar, first proposed in [27, 28] and described in de-
tail in [29], performs non real-time data-driven concaten-
Corpus-based concatenative sound synthesis methods are ative musical sound synthesis from large heterogeneous
attracting more and more interest in the communities of sound databases.
researchers, composers, and musicians. Units are segmented by automatic alignment of music
In the last few years, the number of research or devel- with its score for instrument corpora, and by blind seg-
opment projects in concatenative synthesis grew rapidly, mentation for free and re-synthesis. The descriptors are
so that a description of each approach would go largely based on the MPEG-7 low-level descriptor set, plus de-
beyond the range of this article. For an in-depth survey scriptors derived from the score and the sound class. The
comparing and classifying the many different approaches low-level descriptors are condensed to unit descriptors by
to concatenative synthesis that exist, the kind reader is re- modeling of their temporal evolution over the unit (mean
ferred to [30]. value, slope, spectrum, etc.) The database is implemented
Corpus-based concatenative sound synthesis draws on using the relational database management system Post-
many fields of research, mainly digital signal processing GreSQL for added reliability and flexibility.
(analysis, synthesis, and matching), computer science (da- The unit selection algorithm is a Viterbi path-search
tabase technology), statistics and machine learning (clas- algorithm, which finds the globally optimal sequence of
sification), music information retrieval and modeling, and database units that best match the given target units using
real-time interaction. In addition, there are many other two cost functions: The target cost expresses the simi-
topics of research that share methods or objectives, such larity of a target unit to the database units by weighted
as speech synthesis, singing voice synthesis, and content- Euclidean distance, including a context around the target.
based processing [18]. The concatenation cost predicts the quality of the join of
We could see concatenative synthesis as one of three two database units by join-point continuity of selected de-
variants of content-based retrieval, depending on what scriptors.
is queried and how it is used. When just one sound is Corpora of violin sounds, environmental noises, and
queried, we are in the realm of descriptor- or similarity- speech have been built and used for a variety of sound ex-
based sound selection. Superposing retrieved sounds to amples of high-level synthesis and resynthesis of audio 4 .
satisfy a certain outcome is the topic of automatic orches- The derived project Talkapillar [6] 5 adapted the Cat-
tration tools. Finally, sequencing retrieved sound snippets erpillar system for artistic text-to-speech synthesis by
is our topic of corpus-based concatenative synthesis syn- adding specialised phonetic and phonologic descriptors.
thesis.

2.1. Early Approaches 2.3. Real-Time Corpus-based Synthesis

In fact, the idea of using a corpus of sounds for compos- The many recent approaches to real-time interactive corpus-
ing music dates back to the very beginning when recorded based concatenative synthesis, summarised in [30] and
sound became available for manipulation with the inven- continuously updated, 6 fall into two large classes, de-
tion of the first usable recording devices in the 1940’s: the pending on whether the match is descriptor- or spectrum-
phonograph and, from 1950, the magnetic tape recorder based: Descriptor-based real-time systems, such as C ATA -
[4, 5]. RT [32], MoSievius [16], the commercial corpus-based
1 http://www.cycling74.com 4 http://www.ircam.fr/anasyn/schwarz/
2 http://ftm.ircam.fr/ 5 Examples can be heard on http://www.ircam.fr/anasyn/concat
3 http://www.fsf.org 6 http://imtr.ircam.fr
intelligent sampler Synful 7 [17], or the interactive con- 3. MODEL
catenative drum synthesiser Ringomatic [2], use a dis-
tance between descriptor vectors to select the best match- This section describes the model behind C ATA RT [32]
ing unit. that realises real-time corpus-based concatenative synthe-
Spectrum-based systems, on the other hand, perform sis in a simple, intuitive, and interactive way. The next
lookup of single or short sequences of FFT-frames by a section will then dive into the details of the implemented
spectral match with an input sound stream. Although they architecture of the software system.
have interesting musical applications, e.g. the SoundSpot- C ATA RT’s model is a multi-dimensional space of de-
ter [9] system 8 with the Frank live algorithm, or the scriptors, populated by the sound units. The user controls
audio-visual performance system Scrambled Hacks, 9 a target point in a lower-dimensional projection of that
descriptor-based systems, seem to be more readily usable space with a selection radius around it, and the selection
for music because the descriptors make sense of the sound algorithm selects the units closest to the target or within
database, by pushing the representation higher than the the radius. The actual triggering of the unit is independent
signal level, and thus allowing a compositional approach of the selection and can happen at any rate.
by writing a target score in terms of sound descriptors. The selection is considering closeness in a geomet-
ric sense, i.e. on appropriately scaled dimensions: The
generic distance measure is a Euclidean distance on the
2.4. Content-Based Processing two chosen descriptors, normalised over the corpus, i.e.
a Mahalanobis distance, in order to avoid distortions be-
Content-based processing is a new paradigm in digital au- tween different distances because of the different ranges
dio processing that is based on symbolic or high-level of the values.
manipulations of elements of a sound, rather than using No concatenation quality is considered, for the mo-
signal processing alone [1]. Lindsay et al. [18] propose ment, and the only transformations applied are a short
context-sensitive effects that are more aware of the struc- crossfade to smooth the concatenation and pitch and loud-
ture of the sound than current systems by utilising con- ness changes.
tent descriptions such as those enabled by MPEG-7. Jehan The following data-flow diagrams illustrate C ATA -
[15] works on object-segmentation and perception-based RT’s model, boxes stand for data, circles for processes,
description of audio material and then performs manipu- and lozenges for real-time signals. Figure 1 shows an
lations of the audio in terms of its musical structure. The
Song Sampler [3] is a system which automatically samples
parts of a song, assigns it to the keys of a MIDI-keyboard
to be played with by a user. Audio Input Control
Input
Along similar lines, the MusEd software [10] permits
to browse through a song in 2D according to descriptors
pitch and loudness. The segments are derived by an onset-
detection algorithm. Analysis Corpus Synthesis

2.5. Granular Synthesis

One source of inspiration of the present work is granular


synthesis [22], which takes short snippets (grains) out of DB
a sound file, at an arbitrary rate. These grains are played
back with a possibly changed pitch, envelope, and vol-
ume. The position and length of the snippets are con-
trolled interactively, allowing to scan through the sound-
file, in any speed. Figure 1. Overview of real-time corpus-based synthesis
Granular synthesis is rudimentarily corpus-based, con-
overview of real-time corpus-based synthesis with the au-
sidering that there is no analysis, the unit size is deter-
dio input feeding the corpus, that can be persistently saved
mined arbitrarily, and the selection is limited to choosing
and loaded to a database, and synthesis by retrieving data
the position in one single sound file. However, its concept
from the corpus.
of exploring a sound interactively, when combined with a
pre-analysis of the data and thus enriched by a targeted se- The analysis part in figure 2 shows the different possi-
lection, results in a precise control over the output sound bilities to get data into the corpus: either all data (audio,
characteristics, as realised in C ATA RT. segment markers, raw descriptors) are loaded from pre-
analysed files, or the descriptors are analysed in C ATA -
7 http://www.synful.com
RT but the segment markers come from a file (or are ar-
8 http://www.soundspotter.org/ bitrarily chosen), or an additional onset detection stage
9 http://www.popmodernism.org/scrambledhackz segments the sound files. At this point, all analysis takes
C ATA RT’s implementation makes heavy use of the ex-
Audio Input tension libraries to Max/MSP FTM 10 [25] for advanced
Soundfile data structures and object system, Gabor [26] for arbi-
+markers
+descriptors
trary rate signal processing, and MnM for matrix process-
ing and statistics [7].
Soundfile
descriptor Corpus
+grain size
or markers analysis
4.1. Module Overview
Soundfile
The main modules of C ATA RT will be explained in the
onset following paragraphs. Their names and cardinality are:
detection Persistent
Sound and Unit
Database • one catart.data per corpus
RT audio input
• one catart.import for segmentation and analysis

• any number of catart.data.proxy to access data

Figure 2. Analysis • any number of catart.lcd for display and control

• any number of catart.selection per corpus


place inside C ATA RT in real-time, which means that we • any number of catart.synthesis∼ per selection or
could just as well use real-time audio input that is seg- per corpus
mented into units and analysed on the fly, to feed the cor-
pus. The audio could come, for example, from a musician
4.2. Analysis
on stage, the last several minutes of whose playing con-
stitutes the corpus from which a laptop improviser selects The segmentation of the source sound files into units can
units, as done in the live recording and interaction appli- come from external files or be calculated internally. There
cation in section 5.4.2. is also a mode where imported sound files are taken as
Last, figure 3 shows the use of the corpus for synthesis a whole, which is appropriate for sets of drum and per-
by selection by user-controlled nearest neighbour search, cussion sounds. Markers generated externally can be
with subsequent transformation and concatenation of the loaded from SDIF or ASCII files, or be imported from
selected units. the marker chunks in the AIFF or WAV soundfiles them-
selves. Internal segmentation calculation is either by ar-
Control bitrary grain segmentation, by split according to silence
(given a threshold), or by the yin algorithm ported to
Target the Gabor library [12]. In any case, the markers can be
descriptor values
viewed and edited by hand, if necessary.
Descriptor analysis either uses precalculated MPEG-
transformation
7 low-level descriptors or descriptors calculated in the
nearest
Corpus neighbour + patch. Details for the 230 imported MPEG-7 signal, per-
selection concatenation
ceptual, spectral, and harmonic descriptors can be found
in [29], following the definitions from [23, 21].
The descriptors calculated in the patch in batch mode,
i.e. faster than real-time, thanks to Gabor’s event-based
signal frame processing, are the fundamental frequency,
Figure 3. Synthesis aperiodicity, and loudness found by the yin algorithm [12],
and a number of spectral descriptors from [8]: spectral
centroid, sharpness, spectral flatness, high frequency en-
ergy, mid frequency energy, high frequency content, first
4. ARCHITECTURE order autocorrelation coefficient (that expresses spectral
tilt), and energy.
The object-oriented software architecture of the collection
Note that also descriptors describing the units’ seg-
of C ATA RT Max/MSP patches is explained in the follow-
ments themselves, such as the unit’s unique id, the start
ing, together with more details of the implementation of
and end time, its duration, and the soundfile it came from,
the model explained in the previous section. A class, in
are stored. Usually, this data is available directly in the
the sense of object-oriented programming and modeling,
data structures of catart.data, but, to make it available
corresponds here to a Max/MSP abstraction (a subpatch
for selection, it is convenient to duplicate this information
that can be instantiated several times), and an abstract pro-
as descriptors.
gram interface is simply a convention of messages that can
be sent to a subpatch which is implementing it. 10 http://ftm.ircam.fr/
The time-varying raw descriptors at FFT-frame rate 4.5. Synthesis
have to be condensed to a fixed number of scalar values
to characterise a unit. These characteristic values [29] C ATA RT’s standard synthesis component catart.synthesis∼
express the general evolution over time of a descriptor is based on the Gabor library’s event-based processing
with its mean value, variance, slope, curve, min, max, and framework: A choosable short fade-in and fade-out is ap-
range, and allow to efficiently query and select units. plied to the sound data of a selected unit, which is then
pasted into the output delay-line buffer, possibly with a
random delay. Other manipulations similar to a granular
4.3. Data synthesis engine can be applied: the copied length of the
sound data can be arbitrarily changed (de facto falsifying
Data is kept in the following FTM data structures: A ta- the selection criteria) to achieve granular-style effects or
ble contains in its rows the descriptor definitions with the clouds of overlapping grains. Also, changes in pitch by
name and the specification where to find this descriptor in resampling and loudness changes are possible. Note that,
an SDIF file (the frame and matrix signatures and matrix because the actual pitch and loudness values of a unit are
indices). The loaded soundfiles are kept in a dictionary known in its descriptors, it is possible to specify precise
indexed by file name, containing metadata, a list of dic- pitch and loudness values that are to be met by the trans-
tionaries for the data files, an FTM event sequence with formation.
the segmentation marks, and a vector containing the sound One variant, the catart.synthesis.multi module, per-
data. The unit descriptor data is kept in one big (N, D) ma- mits to choose the number of output channels, and ac-
trix with one column per descriptor and one unit per row. cepts amplitude coefficients for each channel for spatiali-
Symbolic descriptors such as label or sound set name are sation. It outputs the scaled grains to a gbr.ola∼ module
stored as indices into tables containing the symbol strings. for overlap-add synthesis to a multi-channel output signal.
Write access and the actual data storage is situated in However, these granular synthesis components are
catart.data, whereas read access to the data is provided only one possible realisation of the synthesis interface
by catart.data.proxy, which references an instance of the catart.synthesis∼. Other components might in the fu-
former, and which can be duplicated wherever data acess ture store the sound data in spectral or additive sinusoidal
is needed. representations for easier transformation and concatena-
For persistent storage of corpora, simple text files keep tion.
track of soundfiles, symbols, segments, and unit descrip-
tor data. These can also be generated by Matlab, allow- 4.6. User Interface
ing any user-calculated descriptors to be imported. The
Sound Description Interchange Format (SDIF) 11 is used The user interface for C ATA RT follows the model–view–
for well-defined interchange of data with external analysis controller (MVC) design principle, the model being the
and segmentation programs. data, selection, and synthesis components, and the view
and controller being defined by the two abstract program
interfaces catart.display and catart.control. For many
4.4. Selection applications, these two are implemented by one single
component, e.g. when the control takes place on the dis-
Because of the real-time orientation of C ATA RT, we can- play, e.g. by moving the mouse.
not use the globally optimal path-search style unit selec- Because displaying and navigating a high-dimensional
tion based on a Viterbi algorithm as in Caterpillar, neither space is not practical, the descriptor space is reduced to a
do we consider concatenation quality, for the moment. In- 2-dimensional projection according to two selectable de-
stead, the selection is based on finding the units closest scriptors. The view (figure 4) plots this projection of the
to the current position x in the descriptor space, in a geo- units in the descriptor space plus a 3rd descriptor being
metric sense, i.e. on appropriately scaled dimensions: A expressed on a colour scale. Note that that the display is
straightforward way of achieving this is to calculate the dynamic, i.e. multiple views can be instantiated that can
square Mahalanobis distance d between x and all units connect to the same data component, or one view can be
with switched between several data instances, i.e. corpora.
2
(x − µ) The implemented display uses Max/MSP’s graphic
d= (1) canvas (lcd, see figure 4) to plot a 2-dimensional projec-
σ
tion of the units in the descriptor space plus a 3rd descriptor
where µ is the (N, D) matrix of unit data and σ the stan- begin expressed on a color scale. Java-controlled display,
dard deviation of each descriptor over the corpus. Either or an OpenGL display via the Jitter 12 graphics library are
the unit with minimal d is selected, or one randomly cho- possible.
sen from the set of units with d < r2 , when a selection In these displays, the mouse serves to move the target
radius r is specified, or, third, one from the set of the k point in the descriptor space. Additional control possibili-
closest units to the target. ties are MIDI input from fader boxes to set more than two
11 http://sdif.sourceforge.net 12 http://www.cycling74.com/products/jitter
descriptor target values and limit a selectable descriptor
range, and advanced input devices for gestural control.
Independent of the current position, several modes for
triggering playing of the currently closest unit exist: an
obvious but quite interesting mode plays a unit whenever
the mouse moves. De-facto, the friction of the mouse
provides an appropriate force-feedback, so that this mode
is called bow. To avoid the strident repetitions of units,
the mode fence plays a unit whenever a different unit be-
comes the closest one (named in homage to clattering a
stick along a garden fence). The beat mode triggers units
regularly via a metronome, and the chain mode triggers
a new unit whenever the previous unit has finished play-
ing. Finally, the continue mode plays the unit following
the last one in the original recording. There is also a mode
seq which completely dissociates selection from trigger-
ing, which is performed by sending the message play to Figure 4. The graphic control interface of C ATA RT.
catart.select. This mode is for complete rhythmic con-
trol of the output, for instance via a sequencer.
C ATA RT incorporates a basic loop-sequencer that al- beats, where, for each beat, one sound class can be cho-
lows to automate the target descriptor control. Also the sen. The selection within each soundclass, however, is
evolution of the weight for a descriptor can be sequenced, gouverned by a freely editable descriptor curve, or real-
such that at the desired times, the target descriptor value time control.
is enforced, while at others the selection is less dependent
on this descriptor. 5.4. Musical Applications
Of the various musical applications of corpus-based con-
5. APPLICATIONS catenative synthesis that were made since its inception, 13
we have chosen four that, as we reckon, best illustrate
5.1. Explorative Granular Synthesis the fundamental concepts that are made possible by it,
and where the electronic part is exclusively produced by
The principal application of C ATA RT is the interactive ex- C ATA RT. Other composers using C ATA RT in the sound
plorative synthesis from a sound corpus, based on mu- design for the electronic part of their pieces are: Louis
sically meaningful descriptors. Here, granular synthesis Naõn, Hans Tutschku, Matthew Burtner, Sebastien Roux,
is extended by a targeted selection according to the con- and Hector Parra.
tent of the sound base. One could see this as abolishing
the temporal dimension of a sound file, and navigating
through it based on content alone. 5.4.1. Re-arranging
Usually, the units group around several clusters. With The concept of re-arranging the units of recorded sound is
corpora with mixed sources, such as train and other en- fundamental to corpus-based concatenative synthesis so
vironmental noises, voice, and synthetic sounds, interest- that it is at the base of each of the four applications. It
ing overlaps in the descriptor space occur and can be ex- can be seen as abolishing the temporal order—time is just
ploited. Figure 4 shows the C ATA RT main patch with an another descriptor amongst many that can serve to make
example of a corpus to explore. new sense of recorded sound.
C ATA RT is used as a compositional and orchestra-
5.2. Audio-Controlled Synthesis tion tool in the context of the piece Junkspace for banjo
and electronics by Sam Britton, performed at Ircam Oc-
As all the analysis can take place in C ATA RT itself, it tober 14, 2006. The work takes large databases of
is possible to analyse an incoming audio signal for de- recorded instrumental improvisations and uses concaten-
scriptors and use these to control the synthesis, effectively ative synthesis to re-sequence and orchestrate these se-
resynthesising a signal with sounds from the database. quences. In this context, the concatenation process acts
The target descriptor evolution can also be derived as a kind of oral catalyst, experimentally re-combining
from a sound file, by analysing and segmenting it and events into harmonic, melodic and timbral structures, si-
playing its controlling descriptors from the sequencer. multaneously proposing novel combinations and evolu-
tions of the source material, which might not have oth-
erwise been attempted or acknowledged as viable possi-
5.3. Data-Driven Drumbox
bilities.
A slighly more rigid variation of the C ATA RT sequencer 13 See [30] for a corpus-based re-reading of electronic music since

splits the target descriptor sequence into a fixed number of 1950.


This concept is further pursued by his various musical interaction, and some new paradigms linked to 3D navi-
projects 14 . gation. Yoan Ollivier and Benjamin Wulf imagined and
designed this metaphor (plumage means the feathers of a
bird) based on 3D modeled feather-like objects represent-
5.4.2. Live Recording and Interaction
ing sound grains, allowing to place them in space, link
Two performances by Diemo Schwarz and Sam Britton them, apply surface colouring and texturing, rotation, etc.,
took place during the Live Algorithms for Music (LAM) according to the sound descriptors of the grains they rep-
conference 2006, 15 the first, to be released on CD, with resent.
the performers George Lewis on trombone and Evan
Parker on saxophone, improvising with various computer
systems. Here, C ATA RT’s live recording capabilities were
put to use to re-arrange the incoming live sound from
the musician to engage him into an interaction with his
own sound. The audio from the musician on stage, was
Plume
recorded, segmented and analysed, keeping the last sev- et boî
eral minutes in a corpus from which the system selected englo
units, the target being controlled via a faderbox.
Diemo Schwarz is currently pursuing this approach
in a long-term collaboration with the improviser Etienne Capt
mess
Brunet on bass clarinet. Please see http://www.myspace. inters
com/theconcatenator for first results and appreciations
of this work, and [34].
The second performance by Sam Britton and Diemo
Schwarz, Rien du tout, draws on compositional models
proposed by John Cage and Luc Ferrari. Through a pro-
cess of re-composition it becomes possible to record en- Figure 1. Design graphique de Plumage.
vironmental sounds and interpret and contextualise them
into a musical framework. The performance starts with Figure 5. Plumage’s
RENDU AUDIO−GRAPHIQUE 3D space.
SPATIALISÉ COHÉRENT
nothing at all (rien du tout) and by recording and re-
composing environmental sound (here the sound of the The navigation is not a simple movement of a cursor
concert hall and audience), evolves a musical structure by because the score cannot be played by a single instrument. la dis
tracing a non-linear path through the increasing corpus of It is rather comparable to an orchestral score, like a col- têtes
recorded sound and thereby orchestrating a counter-point lection of sounds, which
Spat. sonore can be VirChor
Sélection played by a group of in- têtes
to our own linear perception of time. The aim is to con- CataRT
struments according todes synthese
certain rules. capte
synthese graphique
struct a compositional framework from any given source The score grains
is not fixed
audio but in an open form, rather like satelli
material that may be interpreted as being musical by virtue Earl Browns approach:
VUE AUDIO “It willVUEnever come out the same,
GRAPHIQUE
but the content will be the same.” “Is it more interest- Les tê
of the fact that its parts have been intelligently re-arranged
ing to
Base de fill a form or to form a filling?”
grains In Plumage, both
Représentation leurs
according to specific sonic and temporal criteria. sonores et
the composition of the score and the
graphique spatialisée
navigation déclen
méta!données de la base decan be set
very precisely or not,CONTRÔLE
(descripteurs) :
and the setting of thesonores
grains navigation can sociés
5.4.3. Composition by Navigation MODÈLE
become AUDIOa way to fix aInteractions
composition, to MODÈLE
study GRAPHIQUE
a sound cor- sont u
pus or to navigate freely as an improvisation. Concatenat- sonor
While navigation is also at the base of all the examples, Figure 2. compared
Architecture Plumage. a picture tir de
the Plumage project [14] exploits it to the fullest, making ive synthesis can be to de
deconstructing
into small points and a classification of these points ac- non, c
it its central metaphor. Plumage was developed within the nue p
cording to the chosen descriptors. Imagine separating all
ENIGMES project (Exprimentation de Nouvelles Inter- tions complémentaires. CataRT [7] est un logiciel de matio
faces Gestuelles Musicales Et Sonores) headed by Roland the brush sonore
synthèse spots of an impressionist painting
concaténative and reordering
qui s’appuie sur des
them according to hue, luminance, saturation or other de- active
Cahen: a collaborative experimental educational project grains sonores (des micro-samples) garnis de méta- tive d
at the national superior school of industrial creation EN- scriptors. The resulting work will be an
données issus soit de l’analyse des sons, soit de des- abstract painting.
le spa
SCI 16 , bringing together design students with researchers Navigatingdethrough
cripteurs haut such a score
niveau. will not l’on
Lorsque easilyenchaı̂ne
rebuild thela
le dép
from LIMSI and Ircam. Its subject was “navigable scores” original figure and will need special processes
lecture de ces échantillons, une sortie sonore continue such as the
or score-instruments, in which different kinds of users one we developed to make this reshaping
est produite en temps réel par synthèse granulaire. significant.
would play the sound or music, cruising through the score.
Virtual Choreographerand
5.4.4. Cross-selection 3
(VirChor)
Interpolation est un moteur Éléme
In Plumage, C ATA RT was connected to and controlled
de rendu 3D temps réel interactif. Deux fonctionna- d’un
by a 3D representation of the corpus, giving more expres- Stefano Gervasoni’ssont
pieceexploitées
sive possibilities, more precision in the visualisation and lités de VirChor Whisper Not dansforleviola
cadreandde sont d
electronics, created in April 2007 in
Plumage. D’une part, des capteurs sont placésMonaco, played
dans pour
14 http://icarus.nu
by Genevieve Strosser, computer music realization
la scène afin de déclencher des émissions de mes- by long d
15 http://www.livealgorithms.org Thomas Goepfer, explores the interaction of the
sages vers les objets qu’ils intersectent. D’autre part, musi- et do
16 http://www.ensci.com cianmicros
des with her ownpositionnés
sont sound, segmented into
afin de notes and
reporter short
vers un (maill
spatialiseur sonore en sortie de CataRT. les coor- cros,
données sphériques des sources sonores actives dans graph
le référentiel des micros. feuille
les sat
INTERFACE DE RENDU AUDIO-VISUEL INTERACTIF la tra
Plumage est une application de rendus graphique et cro) a
audio cohérents, temps réel et interactifs. L’espace so- bien e
phrases. Here, C ATA RT improvises a response to the mu-
sician as soon as she makes a pause, recombining her pre-
recorded sound according to a trajectory through the de-
scriptor space, controlled via a faderbox.
Further on in the piece, the corpus of viola, with play-
ing styles intended to create a resemblance to the human
voice, is gradually interpolated with a second corpus of
only pizzicato sounds, and then morphed into a third cor-
pus of sounds of dripping water. Here, a new concept
of corpus-based cross synthesis, or shorter cross-selection
is applied: The descriptors of the selected response of
C ATA RT are taken as the target for the parallel third cor-
pus, such that the pizzicatos are gradually replaced by wa-
ter drops, while retaining their timbral evolution.

5.4.5. Corpus-Based Orchestration


Dai Fujikura’s piece swarming essence for orchestra and
electronics, created in June 2007 with the orchestra of Ra-
dio France in Paris, computer music realization by Manuel
Poletti, uses 10 different corpora of pre-recorded phrases
of 5 instruments (alto flute, bass clarinet, trumpet, violin,
cello), segmented into notes. The phrases making up the
sound base were composed to match the harmonic content Figure 6. Graphic score for swarming essence.
of the orchestral part of the 10 sections of the piece, and
to exhibit a large sonic variety by use of different dampers
and playing styles. mately half of the units, by just one distance calculation
The composer then explored each corpus graphically, with the subspace boundary.
recomposing and manipulating the sound material using The used corpora are in general unevenly distributed
C ATA RT’s granular processing capabilities. These tra- over the descriptor space. Many units are concentrated
jectories were then transcribed into control envelopes for in clusters, whereas large parts of the space are relatively
the concert patch (see figure 6). Each corpus was in- empty. This is first a problem of interaction and visu-
ternally organised into sound sets by instrument, giving alisation, which should allow zooming into a cluster to
precise control of the orchestration of the electronic part navigate through the fine differences within. Clustering,
by instrument-dependent routing, allowing their separate rotation and warping of the descriptor space (by multi-
granularisation and spatialisation. dimensional scaling or magnifying-glass type transforma-
In this piece, the encounter of the composer with tions) maximises the efficiency of the interaction, leading
C ATA RT also inspired him to make the composition of to greater expressivity. However, the model of navigat-
the orchestral part follow sonic effects that were obtained ing through the descriptor space could be refined by a no-
by C ATA RT, in order to smoothly link both. For instance, tion of subspaces with links to other subspaces. Note that,
the composer thought in terms of the “grain size” of the within different clusters, possibly different descriptors ex-
orchestra’s playing. press best the intra-cluster variation such that each sub-
space should have its own projection to the most pertinent
6. FUTURE WORK descriptors therein.
C ATA RT should take care of concatenation, at least in a
Interesting questions of representation, control and inter- limited way, by considering the transition from the previ-
action are raised by the present work: To improve the ef- ously selected unit to the next one, not finding the globally
ficiency of selection, and thus the scalability to very large optimal sequence as in Caterpillar. The concatenation
sets of data (hundreds of thousands of units), the units cost could be given by descriptor continuity constraints,
in the descriptor space can be indexed by an optimised spectral distance measures, or by a precalculated distance
multi-dimensional k-nearest neighbour index. The algo- matrix, which would also allow distances to be applied
rithm described in [13] constructs a search tree by splitting to symbolic descriptors such as phoneme class. The con-
up the descriptor space along the hyperplane perpendicu- catenation distance could be derived from an analysis of
lar to the principal component vector, and thus achieving the corpus:
a maximal separation of units. This is then repeated for It should be possible to exploit the data in the corpus to
each sub-space until only a few units are left in each leaf analyse the natural behaviour of an underlying instrument
node of the resulting tree. The k-nearest neighbour search or sound generation process. By modeling the probabili-
can then, at each step down the tree, eliminate approxi- ties to go from one cluster of units to the next, we would
favour the typical articulations of the corpus, or, the syn- The applications are only beginning to fathom all the
thesis left running freely would generate a sequence of possibilities this model allows for interaction modes and
units that recreates the texture of the source sounds. visualisation.
To make more existing sound collections available to
C ATA RT, an interface to the Caterpillar database, to 8. ACKNOWLEDGEMENTS
the freesound repository, and other sound databases is
planned. The freesound project, 17 is a collaboratively The authors would like to thank Alexis Baskind, Julien
built up online database of samples under licensing terms Bloit, and Greg Beller for their contributions to C ATA -
less restrictive than the standard copyright, as provided by RT, Yoan Olliver, Benjamin Wulf (ENSCI), Christian
the Creative Commons 18 family of licenses. A transpar- Jacquemin, and Rami Ajaj (LIMSI) for their involvement
ent net access from C ATA RT to this sound database, with in Plumage, Manuel Poletti, Dai Fujikura, and Stefano
its 170 unit descriptors already calculated, would give us Gervasoni for their venture to use C ATA RT, and Nor-
an endless supply of fresh sound material. bert Schnell, Riccardo Borghesi, Fréderic Bevilacqua, and
Rémy Muller from the Real-Time Music Interaction team
7. CONCLUSION for their FTM, Gabor, and MnM libraries without whom
C ATA RT couldn’t exist that way. C ATA RT is partially
We presented corpus-based concatenative synthesis and funded by the French National Agency of Research ANR
its real-time implementation in the C ATA RT system, per- within the RIAM project Sample Orchestrator.
mitting a new model of interactive exploration of, and nav- We also would like to thank the anonymous reviewers
igation through a sound corpus. The concatenative syn- of this article for their precise and constructive comments.
thesis approach is a natural extension of granular synthe-
sis, augmented by content-based selection and control, but 9. REFERENCES
keeping the richness of the source sounds.
We can see that three of the examples of musical ap- [1] X. Amatriain, J. Bonada, A. Loscos, J. Arcos, and V. Ver-
plications in section 5 used the sound of the performers. faille. Content-based transformations. Journal of New Mu-
For all three, the initial idea was to use the live sound to sic Research, 32(1):95–114, 2003.
constitute a corpus from which C ATA RT would then syn- [2] Jean-Julien Aucouturier and Franois Pachet. Ringomatic:
thesise an electronic accompaniment. In the end, however, A Real-Time Interactive Drummer Using Constraint-
Fujikura and Gervasoni chose to prerecord the corpus in- Satisfaction and Drum Sound Descriptors. In Proceedings
stead, because of the better predictability of the sonic con- of the International Symposium on Music Information Re-
tent of the corpus, in terms of both quality and variety. In trieval (ISMIR), pages 412–419, London, UK, 2005.
Britton and Schwarz’s use of live corpus recording, the [3] Jean-Julien Aucouturier, Franois Pachet, and Peter
impredictability of the incoming material was either an Hanappe. From sound sampling to song sampling. In
integral part of the performance, as in Rien du tout, or in- Proceedings of the International Symposium on Music In-
evitable, as with the LAM performance, because of the formation Retrieval (ISMIR), pages 1–8, Barcelona, Spain,
improvised nature of the music. October 2004.
We see that precise knowledge of the corpus is a great [4] Marc Battier. Laboratori, volume I, pages 404–419. Ein-
advantage for its efficient exploitation. The 2D display of audi, Milan, 2001.
the descriptor space helps here, but can not convey the [5] Marc Battier. Laboratoires, volume I, Musiques du XXe
higher-dimensional shape and distribution of the space. sicle, pages 558–574. Actes Sud, Cit de la musique, Paris,
We are currently exploring ways to represent the corpus 2003.
by optimising its distribution, while still retaining access [6] Grégory Beller, Diemo Schwarz, Thomas Hueber, and
by musically and perceptually meaningful descriptors by Xavier Rodet. A hybrid concatenative synthesis system
dimensionality reduction. on the intersection of music and speech. In Journées
C ATA RT is a tool that allows composers to amass d’Informatique Musicale (JIM), pages 41–45, MSH Paris
a wealth of sounds, while still retaining precise control Nord, St. Denis, France, June 2005.
about its exploitation. From the great variety of musical [7] Frédéric Bevilacqua, Rémy Muller, and Norbert Schnell.
results we presented we can conclude that C ATA RT is a MnM: a Max/MSP mapping toolbox. In New Interfaces for
sonically neutral and transparent tool, i.e. the software Musical Expression, pages 85–88, Vancouver, May 2005.
doesn’t come with its typical sound that is imposed on the [8] Julien Bloit. Analyse temps réel de la voix pour le contrôle
musician, but instead, the sound depends completely on de synthèse audio. Master-2/SAR ATIAM, UPMC (Paris
the sonic base material and the control of selection, at least 6), Paris, 2005.
when the granular processing tools are used judiciously.
[9] Michael Casey. Acoustic lexemes for organizing internet
C ATA RT’s modular architecture proved its usefulness audio. Contemporary Music Review, 24(6):489–508, De-
for its inclusion in concert patches, being able to adapt to cember 2005.
the ever changing context of computer music production.
[10] Graham Coleman. Mused: Navigating the personal sam-
17 http://iua-freesound.upf.es ple library. In Proceedings of the International Computer
18 http://creativecommons.org Music Conference (ICMC), Copenhagen, Denmark, 2007.
[11] Chris Cutler. Plunderphonia. Musicworks, 60(Fall):6–19, [28] Diemo Schwarz. The C ATERPILLAR System for Data-
1994. Driven Concatenative Sound Synthesis. In Proceedings of
[12] Alain de Cheveigné and Nathalie Henrich. Fundamental the COST-G6 Conference on Digital Audio Effects (DAFx),
Frequency Estimation of Musical Sounds. Journal of the pages 135–140, London, UK, September 2003.
Acoustical Society of America (JASA), 111:2416, 2002. [29] Diemo Schwarz. Data-Driven Concatenative Sound Syn-
[13] Wim D’haes, Dirk van Dyck, and Xavier Rodet. PCA- thesis. Thèse de doctorat, Université Paris 6 – Pierre et
based branch and bound search algorithms for computing Marie Curie, Paris, 2004.
K nearest neighbors. Pattern Recognition Letters, 24(9– [30] Diemo Schwarz. Concatenative sound synthesis: The early
10):1437–1451, 2003. years. Journal of New Music Research, 35(1):3–22, March
[14] Christian Jacquemin, Rami Ajaj, Roland Cahen, Yoan Ol- 2006. Special Issue on Audio Mosaicing.
livier, and Diemo Schwarz. Plumage: Design d’une in- [31] Diemo Schwarz. Corpus-based concatenative synthesis.
terface 3D pour le parcours d’échantillons sonores granu- IEEE Signal Processing Magazine, 24(2):92–104, March
larisés. In IHM, Paris, France, November 2007. 2007. Special Section: Signal Processing for Sound Syn-
[15] Tristan Jehan. Event-Synchronous Music Analy- thesis.
sis/Synthesis. In Proceedings of the COST-G6 Conference [32] Diemo Schwarz, Grégory Beller, Bruno Verbrugghe, and
on Digital Audio Effects (DAFx), pages 361–366, Naples, Sam Britton. Real-Time Corpus-Based Concatenative Syn-
Italy, October 2004. thesis with CataRT. In Proceedings of the COST-G6 Con-
[16] Ari Lazier and Perry Cook. MOSIEVIUS: Feature driven ference on Digital Audio Effects (DAFx), pages 279–282,
interactive audio mosaicing. In Proceedings of the COST- Montreal, Canada, September 2006.
G6 Conference on Digital Audio Effects (DAFx), pages [33] Diemo Schwarz, Sam Britton, Roland Cahen, and Thomas
312–317, London, UK, September 2003. Goepfer. Musical applications of real-time corpus-based
[17] Eric Lindemann. Music synthesis with reconstructive concatenative synthesis. In Proceedings of the Interna-
phrase modeling. IEEE Signal Processing Magazine, tional Computer Music Conference (ICMC), Copenhagen,
24(1):80–91, March 2007. Denmark, August 2007.
[18] Adam T. Lindsay, Alan P. Parkes, and Rosemary A. [34] Diemo Schwarz and Etienne Brunet. theconcatenator Plac-
Fitzgerald. Description-driven context-sensitive effects. In ard XP edit. Leonardo Music Journal 18 CD track, 2008.
Proceedings of the COST-G6 Conference on Digital Audio To appear.
Effects (DAFx), pages 350–353, London, UK, September
2003.
[19] Michael Manion. From Tape Loops to Midi: Karlheinz
Stockhausen’s Forty Years of Electronic Music. Online
article, 1992. http://www.stockhausen.org/tape loops.
html.
[20] John Oswald. Plexure. CD, 1993. http://plunderphonics.
com/xhtml/xdiscography.html\#plexure
[21] Geoffroy Peeters. A large set of audio features for sound
description (similarity and classification) in the Cuidado
project. Technical Report version 1.0, Ircam – Centre Pom-
pidou, Paris, France, April 2004.
[22] Curtis Roads. Introduction to granular synthesis. Computer
Music Journal, 12(2):11–13, Summer 1988.
[23] Xavier Rodet and Patrice Tisserand. ECRINS: Calcul des
descripteurs bas niveaux. Technical report, Ircam – Centre
Pompidou, Paris, France, October 2001.
[24] Pierre Schaeffer. Traité des objets musicaux. Éditions du
Seuil, Paris, France, 1st edition, 1966.
[25] Norbert Schnell, Ricardo Borghesi, Diemo Schwarz, Fred-
eric Bevilacqua, and Remy Müller. FTM—Complex Data
Structures for Max. In Proceedings of the International
Computer Music Conference (ICMC), Barcelona, Spain,
September 2005.
[26] Norbert Schnell and Diemo Schwarz. Gabor, Multi-
Representation Real-Time Analysis/Synthesis. In Proceed-
ings of the COST-G6 Conference on Digital Audio Effects
(DAFx), Madrid, Spain, September 2005.
[27] Diemo Schwarz. A System for Data-Driven Concatenative
Sound Synthesis. In Proceedings of the COST-G6 Con-
ference on Digital Audio Effects (DAFx), pages 97–102,
Verona, Italy, December 2000.

You might also like