22
T H E U N I V E R S I T Y O F E D I N B U R G H Music Informatics Alan Smaill Mar 18 2014 Alan Smaill Music Informatics 1/19

Music Informatics - inf.ed.ac.uk

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Music Informatics

Alan Smaill

Mar 18 2014

Alan Smaill Music Informatics 1/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Today

Xenakis on formalised music

Shape by instrumental micro-structure

Statistical distributions in music generation

Alan Smaill Music Informatics 2/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Xenakis

Iannis Xenakis (1922-2001) was a Greek composer and architectwho was very influential on the innovative use of computers inmusical composition.After studying engineering in Greece, he worked for the architect leCorbusier in France; his music from then is influenced byarchitectural concepts and the use of computers to calculate howthese effects could be achieved. He studied music with Messiaen,who did not ask him to study counterpoint or harmony:

No, you are almost thirty, you have the good fortune ofbeing Greek, of being an architect and having studiedspecial mathematics. Take advantage of these things. Dothem in your music.

Olivier Messiaenin Matossian, 1986, “Xenakis”

London: Kahn and Averill

Alan Smaill Music Informatics 3/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Writings

Most of Xenakis’s writings were originally in French, withtranslations in various languages:

Musiques Formelles, 1962.(English version as Formalized Music, 1971, extended version1991)

Musique/Architecture, 1971 (some of this in English inFormalized Music;recent book in English, “Music and Architecture” 2008)

Keleutha, 1994

on-line:

http://www.iannis-xenakis.org

Alan Smaill Music Informatics 4/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Making curves out of straight lines

An early piece took ideas from the structuring of space and appliedthem to music.

We are surrounded by surfaces — plane, cylindrical, conicetc., made by humans or by nature (mountains, seas,clouds). This aspect of human understanding is. . . fundamental. [We know how to] define these surfacesfrom the basic spatial entity, the straight line. In musicthe most obvious straight line is the constant andcontinuous variation in pitch, the glissando.

Xenakis, les 3 paraboles

Alan Smaill Music Informatics 5/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

The envelope of a curve

A bunch of straight lines (all of the same length here) approximatea curve at the edge of the filled area – animated version onwikipedia:

http://en.wikipedia.org/wiki/File:EnvelopeAnim.gif

Alan Smaill Music Informatics 6/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

In Music: initial sketch

Alan Smaill Music Informatics 7/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

From sketch to score

In the sketch, the music is laid out as in a single left-to-rightsystem of sound, with musical pitch as the vertical dimension;the pitch scale is indicated at the left, the temporal scale the top.To have such sound performed by a classical orchestra, he needs toprescribe many individual glissandi, with precise starting andending pitches, as well as starting and ending times.See handout, taken from score of Metastaeisis.It is not easy to spot this passage in a recording —it is just before the gap which precedes the final continuouspassage, with a series of crescendos and diminuendos.

Alan Smaill Music Informatics 8/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Opening glissandi

Also see the sketch for the very opening of the piece, which can beread in the same way. Here the single initial pitch splits apartslowly, not completely uniformly, into a sustained chord.The extract from the score here shows the start of this splittingprocess.

There are some on-line performances.

Alan Smaill Music Informatics 9/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Stochastic aspects of music generation

Computers are good at producing (pseudo)-random numbers; thiscan be used to generate numbers according to a probabilitydistribution.For example, the Maxwell-Boltzmann distribution of speeds ofmolecules in a gas; Xenakis used a version where a defines the“temperature” (amount of energy, higher speeds):

f (x) =2

a√

πe−x2/a2

where x measures the likelihood that a molecule has a certain(positive or negative) speed.

Alan Smaill Music Informatics 10/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Examples

We can get a qualitative idea by considering possible curves,depending on a (this from wikipedia – x is on x-axis, f(x) on y axis)

Alan Smaill Music Informatics 11/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Musical gas

Xenakis made music out of this distribution, with glissandirepresenting particles in motion.The organisation in any section uses 3 hypotheses:

Density of animated sound is constant –2 regions of equal extent on the pitch range have sameaverage number of glissandi;

The absolute value of speeds (of glissandi up/down) is spreaduniformly in different registers;

There is no privileged direction – equal number of soundsascending and descending.

Alan Smaill Music Informatics 12/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Analogy with physics of gases

The reasoning here is the same as that used to explain theMaxwell-Boltzmann distribution. If gas is in an enclosed area,

the density will be the same everywhere (hypothesis 1,different areas are different parts of pitch space here)

the temperature is uniform (speed of molecules = energy), and

there is nothing special about any direction (in this case, justup/down).

Alan Smaill Music Informatics 13/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Generating controlled textures

Xenakis was thus able to generate different textures (eg by varyingtemperature) but keeping the random character of the individualatom (= instrument = player). Different sections can havedifferent characteristics, depending on the range of pitch spacemade available.

Random numbers generated following the distribution are used toselect properties for individual instruments.This is an important aspect of his piece Pithopratka.

Alan Smaill Music Informatics 14/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Pithopratka diagram

Alan Smaill Music Informatics 15/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Zoom in

Alan Smaill Music Informatics 16/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

The extract as it sounds

Here the glissandi are made on plucked sounds, so they fade way,and are not so easy to hear.

http://www.youtube.com/watch?v=RC3XCfDBIK8

Alan Smaill Music Informatics 17/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Probabilistic Music and Markov chains

See the handout from “The instrumental music of Iannis Xenakis”by Benoıt Gibson, 2011. He looks at Xenakis’s use of Markovprocesses, where the observed outputs themselves are generatedprobabilistically.

One thing that can be done with music, but not (easily) withnatural language, is to make use of a simultaneous generation of ofdifferent paths through the Markov probability space, eachgenerated according to the transition probabilities.

In this particular case, there is a balance of hidden states that themixture converges to. (I don’t hear this happening myself.)

Alan Smaill Music Informatics 18/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

The productions

We can think of this as a Markov process that deals with just 8hidden states (A,B,C,. . . ,H in the handout). Each of the states isassociated with combinations of (2 or 4) “clouds” of sounds, whichare associated with given densities and ranges.The music is played by 9 instruments.

Then the music can follow the probabilities of the hidden Markovmachine, in parallel. Page 78 of the handout shows what happens,probabilistically, if we imagine 30 processes all initially in state A.Page 79 gives an extract from the score; we can see it uses thedominant hidden states at that stages.listen to

http://www.frequency.com/video/xenakis-analogique-b/13540838

Alan Smaill Music Informatics 19/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Comments

These works, although written some time ago, show thepossibilities open when mathematical and algorithmic tools arebrought to bear to find new ways of making music.Xenakis was also responsible for the UPIC system that we sawearlier, that allows people (even non-musicians) to put togethermusic in a graphical way. His diagrams were prepared by hand,before anything like UPIC was available.

Alan Smaill Music Informatics 20/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Other proposals

Xenakis had many other proposals; the English “Formalized music”has several programs to perform the musical (statistical,transformational etc) operations he was interested in.

These include

game theory in a “duel” between 2 orchestras;

exploring the symmetries of geometrical shapes.

See his writings and listen to the compositions.

Alan Smaill Music Informatics 21/19

TH

E

U N I V E RS

IT

Y

OF

ED I N B U

RG

H

Summary

Xenakis and mathematical/algorithmic ideas for composition

Creating musical curves from straight lines

Locally random textures

Alan Smaill Music Informatics 22/19