< Return to Video

How AI could compose a personalized soundtrack to your life

  • 0:01 - 0:04
    About two and a half years ago,
    I watched this movie called "Her."
  • 0:04 - 0:09
    And it features Samantha,
    a superintelligent form of AI
  • 0:10 - 0:11
    that cannot take physical form.
  • 0:12 - 0:14
    And because she can't
    appear in photographs,
  • 0:14 - 0:16
    Samantha decides to write a piece of music
  • 0:16 - 0:20
    that will capture a moment of her life
    just like a photograph would.
  • 0:21 - 0:25
    As a musician and an engineer,
    and someone raised in a family of artists,
  • 0:25 - 0:30
    I thought that this idea of musical
    photographs was really powerful.
  • 0:30 - 0:33
    And I decided to create an AI composer.
  • 0:33 - 0:36
    Her name is AIVA,
    and she's an artificial intelligence
  • 0:36 - 0:39
    that has learned the art
    of music composition
  • 0:39 - 0:42
    by reading over 30,000 scores
    of history's greatest.
  • 0:42 - 0:45
    So here's what one score
    looks like to the algorithm
  • 0:45 - 0:47
    in a matrix-like representation.
  • 0:47 - 0:49
    And here's what 30,000 scores,
  • 0:49 - 0:51
    written by the likes
    of Mozart and Beethoven,
  • 0:51 - 0:53
    look like in a single frame.
  • 0:56 - 1:00
    So, using deep neural networks,
    AIVA looks for patterns in the scores.
  • 1:00 - 1:04
    And from a couple of bars
    of existing music,
  • 1:04 - 1:08
    it actually tries to infer what notes
    should come next in those tracks.
  • 1:08 - 1:10
    And once AIVA gets good
    at those predictions,
  • 1:10 - 1:14
    it can actually build a set
    of mathematical rules
  • 1:14 - 1:15
    for that style of music
  • 1:15 - 1:18
    in order to create
    its own original compositions.
  • 1:18 - 1:22
    And in a way, this is kind of
    how we, humans, compose music, too.
  • 1:23 - 1:24
    It's a trial-and-error process,
  • 1:24 - 1:27
    during which we may not
    get the right notes all the time.
  • 1:27 - 1:28
    But we can correct ourselves,
  • 1:29 - 1:32
    either with our musical ear
    or our musical knowledge.
  • 1:33 - 1:38
    But for AIVA, this process
    is taken from years and years of learning,
  • 1:38 - 1:41
    decades of learning as an artist,
    as a musician and a composer,
  • 1:41 - 1:43
    down to a couple of hours.
  • 1:43 - 1:46
    But music is also a supersubjective art.
  • 1:46 - 1:47
    And we needed to teach AIVA
  • 1:48 - 1:50
    how to compose the right music
    for the right person,
  • 1:50 - 1:52
    because people have different preferences.
  • 1:52 - 1:56
    And to do that, we show to the algorithm
    over 30 different category labels
  • 1:56 - 1:58
    for each score in our database.
  • 1:58 - 2:01
    So those category labels are like mood
  • 2:01 - 2:04
    or note density or composer
    style of a piece
  • 2:04 - 2:06
    or the epoch during which it was written.
  • 2:06 - 2:08
    And by seeing all this data,
  • 2:08 - 2:11
    AIVA can actually respond
    to very precise requirements.
  • 2:12 - 2:15
    Like the ones, for example,
    we had for a project recently,
  • 2:15 - 2:18
    where we were commissioned
    to create a piece
  • 2:18 - 2:21
    that would be reminiscent
    of a science-fiction film soundtrack.
  • 2:22 - 2:26
    And the piece that was created
    is called "Among the Stars"
  • 2:26 - 2:30
    and it was recorded
    with CMG Orchestra in Hollywood,
  • 2:30 - 2:31
    under great conductor John Beal,
  • 2:31 - 2:35
    and this is what they
    recorded, made by AIVA.
  • 2:36 - 2:43
    (Music)
  • 3:18 - 3:20
    (Music ends)
  • 3:23 - 3:24
    What do you think?
  • 3:24 - 3:28
    (Applause)
  • 3:28 - 3:30
    Thank you.
  • 3:30 - 3:34
    So, as you've seen, AI can create
    beautiful pieces of music,
  • 3:34 - 3:36
    and the best part of it
  • 3:36 - 3:38
    is that humans can actually
    bring them to life.
  • 3:40 - 3:41
    And it's not the first time in history
  • 3:41 - 3:45
    that technology has augmented
    human creativity.
  • 3:45 - 3:48
    Live music was almost always
    used in silent films
  • 3:48 - 3:49
    to augment the experience.
  • 3:50 - 3:53
    But the problem with live music
    is that it didn't scale.
  • 3:53 - 3:56
    It's really hard to cram a full symphony
    into a small theater,
  • 3:56 - 3:59
    and it's really hard to do that
    for every theater in the world.
  • 3:59 - 4:02
    So when music recording
    was actually invented,
  • 4:02 - 4:04
    it allowed content creators,
    like film creators,
  • 4:04 - 4:07
    to have prerecorded and original music
  • 4:07 - 4:10
    tailored to each and every frame
    of their stories.
  • 4:10 - 4:13
    And that was really
    an enhancer of creativity.
  • 4:15 - 4:18
    Two and a half years ago,
    when I watched this movie "Her,"
  • 4:18 - 4:21
    I thought to myself
    that personalized music
  • 4:21 - 4:25
    would be the next single biggest change
    in how we consume and create music.
  • 4:26 - 4:30
    Because nowadays, we have
    interactive content, like video games,
  • 4:30 - 4:33
    that have hundreds of hours
    of interactive game plays,
  • 4:33 - 4:36
    but only two hours of music, on average.
  • 4:36 - 4:38
    And it means that the music
    loops and loops and loops
  • 4:38 - 4:40
    over and over again,
    and it's not very immersive.
  • 4:40 - 4:44
    So what we're working on
    is to make sure that AI can compose
  • 4:44 - 4:47
    hundreds of hours of personalized music
  • 4:47 - 4:51
    for those use cases
    where human creativity doesn't scale.
  • 4:51 - 4:54
    And we don't just want
    to do that for games.
  • 4:55 - 4:59
    Beethoven actually wrote a piece
    for his beloved, called "Für Elise,"
  • 4:59 - 5:03
    and imagine if we could
    bring back Beethoven to life.
  • 5:03 - 5:08
    And if he was sitting next to you,
    composing a music for your personality
  • 5:08 - 5:09
    and your life story.
  • 5:11 - 5:13
    Or imagine if someone like
    Martin Luther King, for example,
  • 5:13 - 5:15
    had a personalized AI composer.
  • 5:15 - 5:17
    Maybe then we would remember
  • 5:17 - 5:19
    "I Have a Dream" not only
    as a great speech,
  • 5:19 - 5:22
    but also as a great piece of music,
    part of our history,
  • 5:22 - 5:24
    and capturing Dr. King's ideals.
  • 5:24 - 5:26
    And this is our vision at AIVA:
  • 5:26 - 5:29
    to personalize music
    so that each and every one of you
  • 5:29 - 5:30
    and every individual in the world
  • 5:30 - 5:33
    can have access to a personalized
    live soundtrack,
  • 5:33 - 5:36
    based on their story
    and their personality.
  • 5:38 - 5:42
    So this moment here together at TED
    is now part of our life story.
  • 5:42 - 5:46
    So it only felt fitting that AIVA
    would compose music for this moment.
  • 5:47 - 5:49
    And that's exactly what we did.
  • 5:49 - 5:54
    So my team and I worked on biasing AIVA
    on the style of the TED jingle,
  • 5:54 - 5:58
    and on music that makes us feel
    a sense of awe and wonder.
  • 5:58 - 6:02
    And the result is called
    "The Age of Amazement."
  • 6:02 - 6:04
    Didn't take an AI to figure that one out.
  • 6:04 - 6:05
    (Laughter)
  • 6:06 - 6:09
    And I couldn't be more proud
    to show it to you,
  • 6:09 - 6:11
    so if you can, close your eyes
    and enjoy the music.
  • 6:11 - 6:12
    Thank you very much.
  • 6:14 - 6:18
    (Music)
  • 6:23 - 6:26
    [The Age of Amazement
    Composed by AIVA]
  • 8:08 - 8:09
    (Music ends)
  • 8:09 - 8:10
    This was for all of you.
  • 8:10 - 8:11
    Thank you.
  • 8:11 - 8:16
    (Applause)
Title:
How AI could compose a personalized soundtrack to your life
Speaker:
Pierre Barreau
Description:

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.

more » « less
Video Language:
English
Team:
closed TED
Project:
TEDTalks
Duration:
08:29
  • 0:45 matrix-like -> Matrix-like
    ("Matrix" is a name of film)
    https://www.google.co.jp/search?q=Matrix-like&tbm=isch

    5:30 live soundtrack -> life soundtrack (?)

  • 2:01 composer style -> composer's style

English subtitles

Revisions Compare revisions