Return to Video

The DIY orchestra of the future

  • 0:01 - 0:03
    I want to talk to you about one thing
  • 0:03 - 0:05
    and just one thing only,
  • 0:05 - 0:09
    and this has to do with when people ask me,
  • 0:09 - 0:12
    what do you do?
  • 0:12 - 0:14
    To which I usually respond,
  • 0:14 - 0:17
    I do computer music.
  • 0:17 - 0:19
    Now, a number of people
  • 0:19 - 0:21
    just stop talking to me right then and there,
  • 0:21 - 0:24
    and the rest who are left usually have
  • 0:24 - 0:26
    this blank look in their eye,
  • 0:26 - 0:28
    as if to say, what does that mean?
  • 0:28 - 0:30
    And I feel like I'm actually depriving them
  • 0:30 - 0:33
    of information by telling them this,
  • 0:33 - 0:35
    at which point I usually panic
  • 0:35 - 0:37
    and spit out the first thing that comes to my mind,
  • 0:37 - 0:40
    which is, I have no idea what I'm doing.
  • 0:40 - 0:42
    Which is true.
  • 0:42 - 0:45
    That's usually followed by a second thought,
  • 0:45 - 0:48
    which is, whatever it is that I'm doing,
  • 0:48 - 0:50
    I love it.
  • 0:50 - 0:54
    And today, I want to, well,
  • 0:54 - 0:56
    share with you something I love,
  • 0:56 - 0:57
    and also why.
  • 0:57 - 1:01
    And I think we'll begin with just this question:
  • 1:01 - 1:03
    What is computer music?
  • 1:03 - 1:06
    And I'm going to try to do my
    best to provide a definition,
  • 1:06 - 1:08
    maybe by telling you a story
  • 1:08 - 1:10
    that goes through some of the stuff
  • 1:10 - 1:12
    I've been working on.
  • 1:12 - 1:14
    And the first thing, I think, in our story
  • 1:14 - 1:16
    is going to be something called ChucK.
  • 1:16 - 1:21
    Now, ChucK is a programming language for music,
  • 1:21 - 1:24
    and it's open-source, it's freely available,
  • 1:24 - 1:26
    and I like to think that it crashes equally well
  • 1:26 - 1:28
    on all modern operating systems.
  • 1:28 - 1:31
    And instead of telling you more about it,
  • 1:31 - 1:33
    I'm just going to give you a demo.
  • 1:33 - 1:34
    By the way, I'm just going to nerd out
  • 1:34 - 1:36
    for just a few minutes here,
  • 1:36 - 1:39
    so I would say, don't freak out.
  • 1:39 - 1:41
    In fact, I would invite all of you to join me
  • 1:41 - 1:42
    in just geeking out.
  • 1:42 - 1:45
    If you've never written a line
    of code before in your life,
  • 1:45 - 1:46
    do not worry.
  • 1:46 - 1:50
    I'll bet you'll be able to come along on this.
  • 1:50 - 1:51
    First thing I'm going to do is to make
  • 1:51 - 1:53
    a sine wave oscillator,
  • 1:53 - 1:56
    and we're going to called the sine wave generator
  • 1:56 - 1:59
    "Ge."
  • 1:59 - 2:01
    And then we're going to connect "Ge" to the DAC.
  • 2:01 - 2:02
    Now this is kind of the abstraction
  • 2:02 - 2:05
    for the sound output on my computer. Okay?
  • 2:05 - 2:08
    So I've connected myself into the speaker.
  • 2:08 - 2:09
    Next, I'm going to say my frequency
  • 2:09 - 2:11
    is 440 hertz,
  • 2:11 - 2:15
    and I'm going to let time advance
  • 2:15 - 2:18
    by two seconds through this operation.
  • 2:18 - 2:22
    All right, so if I were to play this --
  • 2:22 - 2:25
    (Tone) —
  • 2:25 - 2:27
    you would hear a sine wave
    at 440 hertz for two seconds.
  • 2:27 - 2:30
    Okay, great. Now I'm going to copy and paste this,
  • 2:30 - 2:32
    and then just change some of these numbers,
  • 2:32 - 2:36
    220.5, 440 I shall leave it as that,
  • 2:36 - 2:38
    and .5 and 880.
  • 2:38 - 2:40
    By doubling the frequency,
  • 2:40 - 2:42
    we're actually going up in successive octaves,
  • 2:42 - 2:44
    and then we have this sequence --
  • 2:44 - 2:46
    (Tones) — of tones.
  • 2:46 - 2:48
    Okay, great, now I can imagine creating
  • 2:48 - 2:49
    all kinds of really horrible
  • 2:49 - 2:51
    single sine wave pieces of music with this,
  • 2:51 - 2:54
    but I'm going to do something
    that computers are really good at,
  • 2:54 - 2:56
    which is repetition.
  • 2:56 - 2:58
    I'm going to put this all in a while loop,
  • 2:58 - 2:59
    and you actually don't need to indent,
  • 2:59 - 3:01
    but this is purely for aesthetic reasons.
  • 3:01 - 3:03
    It's good practice.
  • 3:03 - 3:04
    And when we do this —
  • 3:04 - 3:09
    (Tones) —
  • 3:09 - 3:10
    that's going to go on for a while.
  • 3:10 - 3:12
    In fact, it's probably not going to stop
  • 3:12 - 3:13
    until this computer disintegrates.
  • 3:13 - 3:16
    And I can't really empirically prove that to you,
  • 3:16 - 3:20
    but I hope you'll believe me when I say that.
  • 3:20 - 3:22
    Next, I'm going to replace this 220
  • 3:22 - 3:24
    by math.random2f.
  • 3:24 - 3:26
    I'm going to generate a random number
  • 3:26 - 3:29
    between 30 and 1,000 and send that
  • 3:29 - 3:31
    to the frequency of me.
  • 3:31 - 3:33
    And I'm going to do this every half a second.
  • 3:33 - 3:36
    (Tones)
  • 3:36 - 3:39
    Let's do this every 200 milliseconds.
  • 3:39 - 3:43
    (Tones)
  • 3:43 - 3:45
    One hundred.
  • 3:45 - 3:46
    (Tones)
  • 3:46 - 3:48
    All right.
  • 3:48 - 3:50
    At this point, we've reached something
  • 3:50 - 3:51
    that I would like to think of as
  • 3:51 - 3:55
    the canonical computer music.
  • 3:55 - 3:58
    This is, to me, the sound that mainframes
  • 3:58 - 4:00
    are supposed to be making
  • 4:00 - 4:03
    when they're thinking really hard.
  • 4:03 - 4:05
    It's this sound, it's like,
  • 4:05 - 4:08
    the square root of five million.
  • 4:10 - 4:14
    So is this computer music?
  • 4:14 - 4:16
    Yeah, I guess by definition,
  • 4:16 - 4:17
    it's kind of computer music.
  • 4:17 - 4:20
    It's probably not the kind of music you would listen to
  • 4:20 - 4:22
    cruising down the highway,
  • 4:22 - 4:27
    but it's a foundation of computer-generated music,
  • 4:27 - 4:29
    and using ChucK,
  • 4:29 - 4:31
    we've actually been building instruments
  • 4:31 - 4:33
    in the Stanford Laptop Orchestra,
  • 4:33 - 4:37
    based right here at Stanford Center for
    Computer Research in Music and Acoustics.
  • 4:37 - 4:40
    Now the Laptop Orchestra is an ensemble of laptops,
  • 4:40 - 4:42
    humans and special hemispherical speaker arrays.
  • 4:42 - 4:44
    Now the reason we have these
  • 4:44 - 4:46
    is so that for the instruments that we create
  • 4:46 - 4:49
    out of the laptop, we want the sound to come
  • 4:49 - 4:51
    out of somewhere near the instrument
  • 4:51 - 4:52
    and the performer,
  • 4:52 - 4:55
    kind of much like a traditional, acoustic instrument.
  • 4:55 - 4:57
    Like, if I were to play a violin here,
  • 4:57 - 4:59
    the sound would naturally not come out of
  • 4:59 - 5:02
    the P.A. system, but from the artifact itself.
  • 5:02 - 5:05
    So these speakers are meant to emulate that.
  • 5:05 - 5:06
    In fact, I'm going to show you
  • 5:06 - 5:09
    how we actually built them.
  • 5:09 - 5:11
    The first step is to go to IKEA
  • 5:11 - 5:13
    and buy a salad bowl.
  • 5:13 - 5:16
    This is an 11-inch Blanda Matt.
  • 5:16 - 5:17
    That's the actual name,
  • 5:17 - 5:19
    and I actually use one of these
  • 5:19 - 5:21
    to make salad at home as well, I kid you not.
  • 5:21 - 5:24
    And the first step is you turn it upside down,
  • 5:24 - 5:27
    and then you drill holes in them,
  • 5:27 - 5:29
    six holes per hemi,
  • 5:29 - 5:31
    and then make a base plate,
  • 5:31 - 5:34
    put car speaker drivers in them
  • 5:34 - 5:36
    along with amplifiers in the enclosure,
  • 5:36 - 5:38
    and you put that all together and you have
  • 5:38 - 5:39
    these hemispherical speaker arrays.
  • 5:39 - 5:41
    Add people, add laptops,
  • 5:41 - 5:44
    you have a laptop orchestra.
  • 5:44 - 5:47
    And what might a laptop orchestra sound like?
  • 5:47 - 5:49
    Well, let me give you a demonstration
  • 5:49 - 5:52
    of about 200 instruments we've created so far
  • 5:52 - 5:56
    for the Laptop Orchestra.
  • 5:56 - 5:58
    And what I'm going to do is
    actually come over to this thing.
  • 5:58 - 6:00
    This thing I have in front of me
  • 6:00 - 6:03
    actually used to be a commodity gaming controller
  • 6:03 - 6:05
    called a Gametrak.
  • 6:05 - 6:07
    This thing actually has a glove
    you can put on your hands.
  • 6:07 - 6:09
    It's tethered to the base,
  • 6:09 - 6:11
    and this will track the position of your hands
  • 6:11 - 6:12
    in real time.
  • 6:12 - 6:16
    It was originally designed as a golfing controller
  • 6:16 - 6:17
    to detect the motion of your swing.
  • 6:17 - 6:20
    That turned out to be a rather large
  • 6:20 - 6:22
    commercial non-success,
  • 6:22 - 6:25
    at which point they slashed prices to 10 dollars,
  • 6:25 - 6:27
    at which point computer music researchers
  • 6:27 - 6:30
    said, "This is awesome!
  • 6:30 - 6:32
    We can prototype instruments out of this."
  • 6:32 - 6:35
    So let me show you one instrument we've created,
  • 6:35 - 6:37
    one of many, and this instrument
  • 6:37 - 6:39
    is called "Twilight,"
  • 6:39 - 6:41
    and it's meant to go with this metaphor
  • 6:41 - 6:44
    of pulling a sound out of the ground.
  • 6:44 - 6:48
    So let me see if this will work.
  • 6:48 - 6:54
    (Music)
  • 6:57 - 6:59
    And put it back.
  • 6:59 - 7:03
    And then if you go to the left,
  • 7:03 - 7:05
    right,
  • 7:09 - 7:13
    it sounds like an elephant in pain.
  • 7:13 - 7:16
    This is a slightly metallic sound.
  • 7:16 - 7:20
    Turn it just a bit.
  • 7:20 - 7:23
    (Music)
  • 7:25 - 7:29
    It's like a hovering car.
  • 7:32 - 7:34
    Okay.
  • 7:34 - 7:38
    This third one is a ratchet-like interaction, so
  • 7:39 - 7:42
    let me turn it up.
  • 7:45 - 7:50
    (Music)
  • 7:50 - 7:52
    So it's a slightly different interaction.
  • 7:52 - 7:55
    The fourth one is a drone.
  • 7:56 - 8:01
    (Music)
  • 8:09 - 8:11
    And finally, let's see,
  • 8:11 - 8:13
    this is a totally different interaction,
  • 8:13 - 8:15
    and I think you have to imagine that there's
  • 8:15 - 8:18
    this giant invisible drum sitting right here on stage,
  • 8:18 - 8:20
    and I'm going to bang it.
  • 8:22 - 8:25
    (Drum)
  • 8:25 - 8:28
    (Laughter)
  • 8:28 - 8:31
    So there we go, so that's one of many instruments
  • 8:31 - 8:32
    in the Laptop Orchestra.
  • 8:32 - 8:36
    (Applause)
  • 8:36 - 8:38
    Thank you.
  • 8:38 - 8:40
    And when you put that together,
  • 8:40 - 8:44
    you get something that sounds like this.
  • 8:44 - 8:51
    (Music)
  • 9:33 - 9:36
    Okay, and so, I think from the experience
  • 9:36 - 9:38
    of building a lot of instruments
    for the Laptop Orchestra,
  • 9:38 - 9:41
    and I think from the curiosity of wondering,
  • 9:41 - 9:42
    what if we took these
  • 9:42 - 9:44
    hopefully expressive instruments
  • 9:44 - 9:47
    and we brought it to a lot of people,
  • 9:47 - 9:49
    plus then a healthy bout of insanity —
  • 9:49 - 9:50
    put those three things together —
  • 9:50 - 9:54
    led to me actually co-founding a startup company
  • 9:54 - 9:56
    in 2008 called Smule.
  • 9:56 - 9:58
    Now Smule's mission is to create
  • 9:58 - 10:02
    expressive, mobile music things,
  • 10:02 - 10:07
    and one of the first musical instruments
  • 10:07 - 10:09
    we created is called Ocarina.
  • 10:09 - 10:12
    And I'm going to just demo this for you real quick.
  • 10:15 - 10:18
    So Ocarina —
  • 10:18 - 10:21
    (Music) —
  • 10:21 - 10:24
    is based on this ancient flute-like instrument
  • 10:24 - 10:26
    called the ocarina,
  • 10:26 - 10:29
    and this one is the four-hole
    English pendant configuration,
  • 10:29 - 10:33
    and you're literally blowing into the microphone
  • 10:33 - 10:35
    to make the sound.
  • 10:35 - 10:37
    And there's actually a little ChucK script
  • 10:37 - 10:38
    running in here that's detecting
  • 10:38 - 10:40
    the strength of your blowing
  • 10:40 - 10:42
    and also synthesizing the sound.
  • 10:42 - 10:45
    (Music)
  • 10:45 - 10:49
    And vibrato is mapped to the accelerometer,
  • 10:49 - 10:50
    so you can get —
  • 10:50 - 10:54
    (Music)
  • 10:54 - 10:58
    All right. So let me play a little ditty for you,
  • 11:00 - 11:01
    a little Bach.
  • 11:01 - 11:04
    And here, you'll hear a little
    accompaniment with the melody.
  • 11:04 - 11:07
    The accompaniment actually follows the melody,
  • 11:07 - 11:10
    not the other way around.
  • 11:10 - 11:16
    (Music)
  • 11:23 - 11:25
    And this was designed
  • 11:25 - 11:26
    to let you take your time
  • 11:26 - 11:29
    and figure out where your expressive space is,
  • 11:29 - 11:31
    and you can just hang out here
  • 11:31 - 11:34
    for a while, for a really
    dramatic effect, if you want,
  • 11:34 - 11:37
    and whenever you're ready —
  • 11:37 - 11:42
    (Music)
  • 11:53 - 11:54
    And on these longer notes,
  • 11:54 - 11:56
    I'm going to use more vibrato
  • 11:56 - 11:57
    towards the end of the notes
  • 11:57 - 12:00
    to give it a little bit more of an expressive quality.
  • 12:00 - 12:04
    (Music)
  • 12:07 - 12:11
    Huh, that's a nice chord to end this excerpt on.
  • 12:11 - 12:15
    (Applause)
  • 12:15 - 12:18
    Thank you.
  • 12:20 - 12:24
    So I think a good question to ask about Ocarina is,
  • 12:24 - 12:28
    is this a toy or it an instrument? Maybe it's both,
  • 12:28 - 12:31
    but for me, I think the more important question is,
  • 12:31 - 12:32
    is it expressive?
  • 12:32 - 12:34
    And at the same time, I think
  • 12:34 - 12:35
    creating these types of instruments
  • 12:35 - 12:39
    asks a question about the role of technology,
  • 12:39 - 12:40
    and its place for how we make music.
  • 12:40 - 12:42
    Apparently, for example,
  • 12:42 - 12:44
    not that long ago, like only a hundred years ago —
  • 12:44 - 12:46
    that's not that long in the course of human history —
  • 12:46 - 12:48
    families back then
  • 12:48 - 12:50
    used to make music together
  • 12:50 - 12:53
    as a common form of entertainment.
  • 12:53 - 12:54
    I don't think that's really happening
  • 12:54 - 12:55
    that much anymore.
  • 12:55 - 12:57
    You know, this is before radio, before recording.
  • 12:57 - 12:59
    In the last hundred years, with all this technology,
  • 12:59 - 13:01
    we now have more access to music
  • 13:01 - 13:03
    as listeners and consumers,
  • 13:03 - 13:06
    but somehow, I think we're making less music
  • 13:06 - 13:08
    than ever before.
  • 13:08 - 13:09
    I'm not sure why that would be.
  • 13:09 - 13:12
    Maybe it's because it's too easy just to hit play.
  • 13:12 - 13:15
    And while listening to music is wonderful,
  • 13:15 - 13:18
    there's a special joy to making music
  • 13:18 - 13:20
    that's all its own.
  • 13:20 - 13:21
    And I think that's one part
  • 13:21 - 13:23
    of the goal of why I do what I do
  • 13:23 - 13:28
    is kind of to take us back to the past a little bit. Right?
  • 13:28 - 13:29
    Now, if that's one goal, the other goal
  • 13:29 - 13:31
    is to look to the future and think about
  • 13:31 - 13:33
    what kind of new musical things can we make
  • 13:33 - 13:36
    that we don't perhaps yet have names for
  • 13:36 - 13:39
    that's enabled by technology, but ultimately
  • 13:39 - 13:41
    might change the way that humans make music.
  • 13:41 - 13:43
    And I'll just give you one example here,
  • 13:43 - 13:50
    and this is Ocarina's other feature.
  • 13:50 - 13:52
    This is a globe,
  • 13:52 - 13:55
    and here you're actually listening
  • 13:55 - 13:57
    to other users of Ocarina
  • 13:57 - 14:01
    blow into their iPhones to play something.
  • 14:01 - 14:06
    This is "G.I.R." from Texas,
  • 14:06 - 14:12
    "R.I.K." I don't know why it's these
    three-letter names today, Los Angeles.
  • 14:12 - 14:17
    They're all playing pretty,
  • 14:17 - 14:20
    somewhat minimal music here.
  • 14:20 - 14:25
    (Music)
  • 14:25 - 14:28
    And the idea with this is that, well,
  • 14:28 - 14:32
    technology should not be foregrounded here,
  • 14:32 - 14:34
    and — (Laughter) —
  • 14:34 - 14:37
    we've actually opened this up.
  • 14:37 - 14:38
    The first thought is that, hey, you know
  • 14:38 - 14:41
    there's somebody somewhere out there
  • 14:41 - 14:43
    playing some music,
  • 14:43 - 14:44
    and this is a small but I think important
  • 14:44 - 14:46
    human connection to make
  • 14:46 - 14:49
    that perhaps the technology affords.
  • 14:49 - 14:51
    As a final example,
  • 14:51 - 14:53
    and perhaps my favorite example,
  • 14:53 - 14:56
    is that in the wake of the 2011 earthquake
  • 14:56 - 14:58
    and tsunami disaster in Japan,
  • 14:58 - 15:01
    a woman reached out in one of our singing apps
  • 15:01 - 15:04
    to try to get people to join in to sing with her
  • 15:04 - 15:06
    on a version of "Lean on Me."
  • 15:06 - 15:09
    Now, in these apps, there's this thing that allows
  • 15:09 - 15:11
    any user to add their voice
  • 15:11 - 15:13
    to an existing performance by any other user
  • 15:13 - 15:14
    or group of users,
  • 15:14 - 15:16
    so in some sense, she's created this kind of
  • 15:16 - 15:20
    global ad hoc corral of strangers,
  • 15:20 - 15:22
    and within weeks, thousands of people
  • 15:22 - 15:24
    joined in on this,
  • 15:24 - 15:26
    and you can kind of see people
    coming from all around the world
  • 15:26 - 15:28
    and all these lines converging on the origin
  • 15:28 - 15:31
    where the first rendition of the song was sung,
  • 15:31 - 15:32
    and that's in Tokyo.
  • 15:32 - 15:36
    And this is what it sounds like
    when there's 1,000 people.
  • 15:36 - 15:38
    This is 1,000 voices.
  • 15:38 - 15:42
    (Recording) ♪ Sometimes in our lives ♪
  • 15:42 - 15:49
    ♪ We all have pain, we all have sorrow ♪
  • 15:49 - 15:53
    ♪ But if we are wise ♪
  • 15:53 - 15:59
    ♪ We know that there's always tomorrow ♪
  • 15:59 - 16:01
    ♪ Lean on me ♪
  • 16:01 - 16:04
    ♪ When you're not strong ♪
  • 16:04 - 16:07
    ♪ And I'll be your friend ♪
  • 16:07 - 16:11
    ♪ I'll help you carry on ♪
  • 16:11 - 16:15
    ♪ For it won't be long ♪
  • 16:15 - 16:18
    ♪ Till I'm gonna need ♪
  • 16:18 - 16:21
    ♪ Somebody to lean on ♪
  • 16:21 - 16:24
    ♪ Just lean on — ♪
  • 16:24 - 16:25
    Is this computer music?
  • 16:25 - 16:29
    (Applause)
  • 16:31 - 16:33
    Was that computer music?
  • 16:33 - 16:35
    Yeah, I guess so; it's something that you really
  • 16:35 - 16:37
    couldn't have done without computers.
  • 16:37 - 16:41
    But at the same time, it's also just human,
  • 16:41 - 16:44
    and I think what I've essentially answered so far
  • 16:44 - 16:48
    is maybe why I do the stuff that I do,
  • 16:48 - 16:50
    and let's just finally return to the first question:
  • 16:50 - 16:52
    What is computer music?
  • 16:52 - 16:55
    And I think that the catch here is that,
  • 16:55 - 16:56
    at least to me, computer music
  • 16:56 - 16:58
    isn't really about computers.
  • 16:58 - 16:59
    It is about people.
  • 16:59 - 17:01
    It's about how we can use technology
  • 17:01 - 17:03
    to change the way we think
  • 17:03 - 17:04
    and do and make music,
  • 17:04 - 17:08
    and maybe even add to how we can
  • 17:08 - 17:11
    connect with each other through music.
  • 17:11 - 17:13
    And with that, I want to say,
  • 17:13 - 17:16
    this is computer music, and thank you for listening.
  • 17:16 - 17:20
    (Applause)
Title:
The DIY orchestra of the future
Speaker:
Ge Wang
Description:

Ge Wang makes computer music, but it isn’t all about coded bleeps and blips. With the Stanford Laptop Orchestra, he creates new instruments out of unexpected materials — like an Ikea bowl — that allow musicians to play music that’s both beautiful and expressive.

more » « less
Video Language:
English
Team:
closed TED
Project:
TEDTalks
Duration:
17:36
  • I believe the transcription from 0:12 to 0:14 is wrong, I think it should be " Intuitively I usually respond " instead of " to which I usually respond".

English subtitles

Revisions Compare revisions