Professional Documents
Culture Documents
Bokesoy - Stoches For Stochastic Music
Bokesoy - Stoches For Stochastic Music
Your use of the JSTOR archive indicates your acceptance of JSTOR's Terms and Conditions of Use, available at
http://www.jstor.org/page/info/about/policies/terms.jsp. JSTOR's Terms and Conditions of Use provides, in part, that unless
you have obtained prior permission, you may not download an entire issue of a journal or multiple copies of articles, and you
may use content in the JSTOR archive only for your personal, non-commercial use.
Please contact the publisher regarding any further use of this work. Publisher contact information may be obtained at
http://www.jstor.org/action/showPublisher?publisherCode=mitpress.
Each copy of any part of a JSTOR transmission must contain the same copyright notice that appears on the screen or printed
page of such transmission.
JSTOR is a not-for-profit organization founded in 1995 to build trusted digital archives for scholarship. We work with the
scholarly community to preserve their work and the materials they rely upon, and to build a common research platform that
promotes the discovery and use of these resources. For more information about JSTOR, please contact support@jstor.org.
The MIT Press is collaborating with JSTOR to digitize, preserve and extend access to Computer Music
Journal.
http://www.jstor.org
SinanBokesoy*and GerardPapet Stochos: Software
Centre de Creation Musicale lannis Xenakis
18 Rue Marcelin-Berthelot
94140 Alfortville, France for Real-Time Synthesis
*bokesoy.sinan@wanadoo.fr
t gerard.pape-ccmix@wanadoo.fr of Stochastic Music
Stochos is a real-time stochastic, chaotic, and de- functions and invented the "Dynamic Stochastic
terministic event generator implemented as a Max/ Synthesis" concept that resulted in his program
MSP patch with a unique control interface for Gendyn (1991-1994). In his book Formalized Mu-
assigning stochastic, chaotic, or deterministic sic, he described the mathematical backgroundof
curves to different sound transformation and syn- these models and also provided examples of compo-
thesis parameters.It provides a compositional envi- sitional applications.
ronment with access to a wide range of time scales The physicist Denis Gabor (1946, 1947) had the
for these operations. As Stochos is still under de- initial idea of a quantum representation for sound,
velopment, we will present its current capabilities and lannis Xenakis was the first to develop a com-
and our long-term goals for this program.Stochos positional theory for "sound quanta" or "grains."
was designed, programmed,and realized by Sinan Out of those ideas was born the concept of "granu-
Bokesoy in collaboration with GerardPape, who lar synthesis" whereby very short sound events
conceived and directed the project. The program that contain a synthetic or sampled waveform are
currently runs on Macintosh computers. seen as musical quanta. These quanta are distrib-
Indeterminacy in the 20th-century music has uted in sound space using parameterslike density,
been applied on different levels by composers like grain size, and a windowing function to envelope
John Cage ("chance music"); Karlheinz Stockhau- the waveform. Changing the pitch and the ampli-
sen, Pierre Boulez, and Luciano Berio ("aleatoric tude of the original waveform along with those pa-
music"); and lannis Xenakis ("stochastic music"). rameters brings secondary effects in the spectral
It is useful to begin our discussion with a definition domain. Here we can see granularsynthesis as a
of the term "stochastic music" taken from Trevor possible consequence of stochastic music synthe-
Wishart: sis-possibilities that occur on the micro-time
scale. We will provide examples of granularsynthe-
Stochastic music is based on a process in
sis applications.
which the probabilities of proceeding from one
Composer/researchersCurtis Roads and Barry
state, or set of states, is [sic] defined. The tem- Truax have done extensive research on the musical
poral evolution of the process is therefore gov-
erned by a kind of weighted randomness, applications of granularsynthesis for composition.
Roads (1996, 2001) proposed the terms synchronous
which can be chosen to give anything from an
granularsynthesis (SGS)and asynchronous granular
entirely determined outcome, to an entirely
synthesis (AGS).De Poli and Piccialli have imple-
unpredictable one. (Wishart 1994) mented pitch-synchronous granularsynthesis
The idea of stochastically distributing sonic (PSGS),which is an analysis-resynthesis technique
events in sound space was first realized by Iannis applied on the granularboundaries of sound (De
Xenakis, beginning with his work Achorripsis Poli and Piccialli 1991).
(1957), followed by his "ST" series of compositions. The real-time granulation of sampled sound was
(See, for example, Pape 2002.) The approachof Xe- made possible in the 1980s with the DMX-1000
nakis in his "ST" series of compositions combined signal processor by BarryTruax (Truax 1987).
ideas of stochastic music with algorithmic event Mr. Roads's Cloud Generator software, which is a
generation. He proposed the use of probability non-real-time application, provides an example of
how a user can control the event distribution pro-
Computer Music Journal,27:3, pp. 33-43, Fall 2003 cess in AGS and SGS by selecting starting and end-
? 2003 Massachusetts Institute of Technology. ing states for granularsynthesis parameters.The
Basic Structure
Stochos
As previously mentioned, the starting point of
Stochos is the Achorripsis model of Xenakis (see
Xenakis 1992). We will see how Stochos has grown
from Xenakis's ideas and how it combines possibil-
ities for sound transformations and synthesis simi-
lar to granularsynthesis, dynamic stochastic
synthesis, sample granulation, and pulsar synthe-
sis, allowing the transformation of samples from
result is clouds of grains that fill up a sound space micro- to macro-time levels.
changing in time. A more recent application by Figure 1 illustrates the structure of Stochos. To
Mr. Roads, Pulsar Generator, works with very define an event, one must first set its onset time-
short waveforms. By controlling granularsynthesis that is, when an event starts in time-and also its
parameters, this programcan simulate formant duration. Events will contain information regarding
synthesis. timbre, intensity, and pitch, plus other synthesis
Stochos also allows manipulation of sound at the parametersassigned to them. We can think of an
micro-time level; in addition, it provides multiple event as a vector of sonic entity in sound space.
control sources working in parallel to manipulate Events can fill a wide range of sound space from
the sonic parameters on any event time level. The very short microsounds, such as grains, to longer
main advantage is the flexible algorithm, which sound objects. Because many parametersof Stochos
distributes the events by assigning different proba- can be automated, the user can morph between dif-
bility distributions for onset time and event dura- ferent states of the event-generation process.
tion. Furthermore,the density is controlled by The event-generation process defines a cell as
probability distributions as in the Achorripsis having a mean duration on the timeline. Following
model of Xenakis. Stochos also provides extensive Xenakis's model, a cell is a unit of time in the
user control of various synthesis parametersfrom composition during which a certain number of
many modulation sources, which plays an impor- events are defined with a density value to be dis-
tant role in this compositional environment. tributed inside that particular cell. Propertiesof the
Another recent application that generates sto- cell also control the operation of stochastic func-
chastic events using probability distributions and tions. The cell length gives a distribution range for
tendency masks to control their output for creating the durations of events and for the onset time in-
texture and granularsounds is Cmask (Bartetzki tervals between events. But how many events will
1997) for the Csound software sound synthesis en- be distributed inside a cell and, therefore, what will
vironment. The programtakes a parameterfile as be the density of events? As in the Achorripsis
input and makes a score file that can be used fur- model, the Poisson distribution (which described
ther with Csound to render the sound output. the appearancesof rare, random events) is imple-
However, the programprovides no graphical con- mented in Stochos.
trols and does not allow real-time interaction, The probability that k events will be distributed
which is the most important aspect of Stochos. in a cell is given by the formula
Other high-level compositional controls besides 2k
stochastic functions for granularsynthesis have Pk = k e
been proposed (e.g., Bowcott 1989). Cellular autom-
ata have been used in generative processes for gran- The X parameterin the Poisson distribution,
ular synthesis of sound; Chaosynth by Eduardo which is set by the user, is the mean number of
Miranda (1998) is such an application. events in a cell, as shown in Figure 2. According to
StochasticFunctionsin Stochos
Eight stochastic functions are currently imple-
mented in Stochos. The first is called Exponential
(FirstLaw), which is simply the exponential distri-
bution from statistics. The density function is f(x)
= ce-cx, and the probability distribution function is
P(x) = 1 - e-x. In both equations, c represents the
cell length.
The function Linear (Second Law) is a simple lin-
ear distribution. The density function is
=2 (l
f(x) = -
generatorto modulate the pitch, which is assigned "cells." The playback speed and input level of the
in the second control matrix. At the far right side original signal is adjustable while using wave sam-
of the "tuning" box, a slider defines the octave ra- ples. The modulation depth of each destination is
tio. When it is set to 2 (i.e., we define a 2:1 octave), further adjustable with simple linear algebrain
we obtain the twelve-tone equal tempered scale; "CrossMod."
when it is set to 4 (i.e., we define a 4:1 "octave"),
we obtain the whole-tone scale. For settings lower
than 2, we obtain microtonal scales. The "octave" FutureDevelopnent
is always divided into twelve steps so that the ratio
between steps raised to the twelfth power yields Earlierversions of Stochos could send the sound
the specified "octave" ratio. The tuning of each parameters of events in MIDI format. The output
step can be set with its dedicated slider. The num- could be played with a VST instrument launched
bers in the boxes represent the frequency of each inside Stochos or recorded to a MIDI file that could
step in Hz. This tuning table creates a pitched be exported to another software program.However,
"quantization"of the output of the fifth curve gen- glissandi were not realizable with MIDI, as the
eratorwhile using this tuning scale. pitch resolution presented a problem. Further,fine
Another interesting implementation results from timing resolution is not really possible with MIDI,
filling the buffers with live audio input. Here, a and we therefore decided to discard the MIDI op-
physical input connected to an available audio in- tion from Stochos.
terface is recordedinto a looping buffer with the As mentioned, Stochos was designed and devel-
length of an event "cell." The buffer is then pro- oped within Max/MSP. The ease of programmingof
cessed in real time with the Stochos sound engine. Max/MSP and its real-time nature are the primary
The buffers can be scanned forward,backward, or reasons that this project could be realized in less
randomly. Random scanning may also occur in ei- than one year. The synthesis features of Stochos
ther direction. One can, of course, change the cell are quite open to further development for custom
length in real time during this process. applications owing to the modular structure of the
A module "CrossMod"for Cross Synthesis has second control matrix (shown in Figure 5). Further-
also been developed (see Figure 8). With CrossMod, more, we could facilitate user interaction in future
one can extract pitch and amplitude envelopes versions by employing Jitter, a three-dimensional
from a wave sample or a live input and apply it to graphical output environment for Max/MSP, for
the parametersof the first and second curve genera- the curve and event generators. One of our future
tors to control the distribution range for duration/ goals is also to rewrite the application in C + + for
onset times of events and/or mean density value of greater computational efficiency.