ABOUT THE SPEAKER
Pierre Barreau - AI and music entrepreneur
Pierre Barreau is an entrepreneur, computer scientist, composer and director who loves to create impactful things.

Why you should listen

Pierre Barreau is the CEO of AIVA, an artificial intelligence that composes music. As Barreau writes: "Ever since I was a child, I was always passionate about building things. This drive to make the imaginary real is what pushed me to create a company as soon as I got out of university. The seed of the idea for AIVA was planted once I saw the science fiction movie Her, where an AI composes a beautiful piece of piano that captures the essence of the moment she is currently living. This simple concept of creating an artificial intelligence capable of composing personalized music is how I believe that I can make the world a slightly more magical place and meaningfully support the storytelling of content creators through music."

Pierre was nominated for a Gold Panda Award in the "Best Director" category when he was 15 years old for a four-film documentary series, One Night in the Cosmos.

More profile about the speaker
Pierre Barreau | Speaker | TED.com
TED2018

Pierre Barreau: How AI could compose a personalized soundtrack to your life

Filmed:
1,460,825 views

Meet AIVA, an artificial intelligence that has been trained in the art of music composition by reading more than 30,000 of history's greatest scores. In a mesmerizing talk and demo, Pierre Barreau plays compositions created by AIVA and shares his dream: to create original live soundtracks based on our moods and personalities.
- AI and music entrepreneur
Pierre Barreau is an entrepreneur, computer scientist, composer and director who loves to create impactful things. Full bio

Double-click the English transcript below to play the video.

00:12
About two and a half years ago,
I watched this movie called "Her."
0
913
3428
00:16
And it features Samantha,
a superintelligent form of AI
1
4365
5127
00:21
that cannot take physical form.
2
9516
1760
00:23
And because she can't
appear in photographs,
3
11858
2230
00:26
Samantha decides to write a piece of music
4
14112
2016
00:28
that will capture a moment of her life
just like a photograph would.
5
16152
3466
00:32
As a musician and an engineer,
and someone raised in a family of artists,
6
20953
4408
00:37
I thought that this idea of musical
photographs was really powerful.
7
25385
4176
00:41
And I decided to create an AI composer.
8
29955
2868
00:44
Her name is AIVA,
and she's an artificial intelligence
9
32847
3488
00:48
that has learned the art
of music composition
10
36359
2393
00:50
by reading over 30,000 scores
of history's greatest.
11
38776
2785
00:54
So here's what one score
looks like to the algorithm
12
42165
2456
00:56
in a matrix-like representation.
13
44645
2202
00:58
And here's what 30,000 scores,
14
46871
2246
01:01
written by the likes
of Mozart and Beethoven,
15
49141
2096
01:03
look like in a single frame.
16
51261
2031
01:07
So, using deep neural networks,
AIVA looks for patterns in the scores.
17
55609
4340
01:12
And from a couple of bars
of existing music,
18
60260
3563
01:15
it actually tries to infer what notes
should come next in those tracks.
19
63847
3708
01:19
And once AIVA gets good
at those predictions,
20
67887
2498
01:22
it can actually build a set
of mathematical rules
21
70409
3613
01:26
for that style of music
22
74046
1166
01:27
in order to create
its own original compositions.
23
75236
2788
01:30
And in a way, this is kind of
how we, humans, compose music, too.
24
78490
3709
01:34
It's a trial-and-error process,
25
82561
1492
01:36
during which we may not
get the right notes all the time.
26
84077
3008
01:39
But we can correct ourselves,
27
87109
1389
01:40
either with our musical ear
or our musical knowledge.
28
88522
3293
01:45
But for AIVA, this process
is taken from years and years of learning,
29
93495
4143
01:49
decades of learning as an artist,
as a musician and a composer,
30
97662
3262
01:52
down to a couple of hours.
31
100948
1733
01:55
But music is also a supersubjective art.
32
103030
2880
01:57
And we needed to teach AIVA
33
105934
1564
01:59
how to compose the right music
for the right person,
34
107522
2445
02:01
because people have different preferences.
35
109991
2141
02:04
And to do that, we show to the algorithm
over 30 different category labels
36
112156
4190
02:08
for each score in our database.
37
116370
1945
02:10
So those category labels are like mood
38
118339
2516
02:12
or note density or composer
style of a piece
39
120879
2920
02:15
or the epoch during which it was written.
40
123823
2524
02:18
And by seeing all this data,
41
126371
1935
02:20
AIVA can actually respond
to very precise requirements.
42
128330
3056
02:23
Like the ones, for example,
we had for a project recently,
43
131966
3103
02:27
where we were commissioned
to create a piece
44
135093
3035
02:30
that would be reminiscent
of a science-fiction film soundtrack.
45
138152
3027
02:33
And the piece that was created
is called "Among the Stars"
46
141839
4500
02:38
and it was recorded
with CMG Orchestra in Hollywood,
47
146363
3317
02:41
under great conductor John Beal,
48
149704
1714
02:43
and this is what they
recorded, made by AIVA.
49
151442
3067
02:47
(Music)
50
155657
7000
03:30
(Music ends)
51
198196
2190
03:34
What do you think?
52
202719
1207
03:35
(Applause)
53
203950
4380
03:40
Thank you.
54
208354
1150
03:42
So, as you've seen, AI can create
beautiful pieces of music,
55
210001
4055
03:46
and the best part of it
56
214080
1803
03:47
is that humans can actually
bring them to life.
57
215907
2581
03:51
And it's not the first time in history
58
219506
1838
03:53
that technology has augmented
human creativity.
59
221368
3344
03:56
Live music was almost always
used in silent films
60
224736
3072
03:59
to augment the experience.
61
227832
1666
04:01
But the problem with live music
is that it didn't scale.
62
229522
3182
04:04
It's really hard to cram a full symphony
into a small theater,
63
232728
3429
04:08
and it's really hard to do that
for every theater in the world.
64
236181
2991
04:11
So when music recording
was actually invented,
65
239196
2849
04:14
it allowed content creators,
like film creators,
66
242069
2349
04:16
to have prerecorded and original music
67
244442
2786
04:19
tailored to each and every frame
of their stories.
68
247252
2873
04:22
And that was really
an enhancer of creativity.
69
250149
2626
04:26
Two and a half years ago,
when I watched this movie "Her,"
70
254617
3286
04:29
I thought to myself
that personalized music
71
257927
2907
04:32
would be the next single biggest change
in how we consume and create music.
72
260858
4417
04:38
Because nowadays, we have
interactive content, like video games,
73
266187
4222
04:42
that have hundreds of hours
of interactive game plays,
74
270433
3015
04:45
but only two hours of music, on average.
75
273472
2113
04:47
And it means that the music
loops and loops and loops
76
275609
2492
04:50
over and over again,
and it's not very immersive.
77
278125
2332
04:52
So what we're working on
is to make sure that AI can compose
78
280467
3951
04:56
hundreds of hours of personalized music
79
284442
2302
04:58
for those use cases
where human creativity doesn't scale.
80
286768
3866
05:03
And we don't just want
to do that for games.
81
291363
2206
05:06
Beethoven actually wrote a piece
for his beloved, called "Für Elise,"
82
294657
4428
05:11
and imagine if we could
bring back Beethoven to life.
83
299109
3651
05:14
And if he was sitting next to you,
composing a music for your personality
84
302784
5230
05:20
and your life story.
85
308038
1333
05:22
Or imagine if someone like
Martin Luther King, for example,
86
310632
2779
05:25
had a personalized AI composer.
87
313435
2039
05:27
Maybe then we would remember
88
315498
1373
05:28
"I Have a Dream" not only
as a great speech,
89
316895
2056
05:30
but also as a great piece of music,
part of our history,
90
318975
2626
05:33
and capturing Dr. King's ideals.
91
321625
2133
05:36
And this is our vision at AIVA:
92
324069
1889
05:37
to personalize music
so that each and every one of you
93
325982
2578
05:40
and every individual in the world
94
328584
1649
05:42
can have access to a personalized
live soundtrack,
95
330257
3074
05:45
based on their story
and their personality.
96
333355
2505
05:49
So this moment here together at TED
is now part of our life story.
97
337915
4079
05:54
So it only felt fitting that AIVA
would compose music for this moment.
98
342018
4169
05:58
And that's exactly what we did.
99
346674
2444
06:01
So my team and I worked on biasing AIVA
on the style of the TED jingle,
100
349436
5022
06:06
and on music that makes us feel
a sense of awe and wonder.
101
354482
3444
06:09
And the result is called
"The Age of Amazement."
102
357950
3913
06:13
Didn't take an AI to figure that one out.
103
361887
2396
06:16
(Laughter)
104
364307
1150
06:18
And I couldn't be more proud
to show it to you,
105
366152
2402
06:20
so if you can, close your eyes
and enjoy the music.
106
368578
2428
06:23
Thank you very much.
107
371030
1333
06:25
(Music)
108
373537
4195
06:35
[The Age of Amazement
Composed by AIVA]
109
383176
2667
08:19
(Music ends)
110
487649
1151
08:20
This was for all of you.
111
488824
1373
08:22
Thank you.
112
490221
1166
08:23
(Applause)
113
491411
4573

▲Back to top

ABOUT THE SPEAKER
Pierre Barreau - AI and music entrepreneur
Pierre Barreau is an entrepreneur, computer scientist, composer and director who loves to create impactful things.

Why you should listen

Pierre Barreau is the CEO of AIVA, an artificial intelligence that composes music. As Barreau writes: "Ever since I was a child, I was always passionate about building things. This drive to make the imaginary real is what pushed me to create a company as soon as I got out of university. The seed of the idea for AIVA was planted once I saw the science fiction movie Her, where an AI composes a beautiful piece of piano that captures the essence of the moment she is currently living. This simple concept of creating an artificial intelligence capable of composing personalized music is how I believe that I can make the world a slightly more magical place and meaningfully support the storytelling of content creators through music."

Pierre was nominated for a Gold Panda Award in the "Best Director" category when he was 15 years old for a four-film documentary series, One Night in the Cosmos.

More profile about the speaker
Pierre Barreau | Speaker | TED.com