< Return to Video

CS Fundamentals Unplugged: Songwriting

  • 0:08 - 0:12
    the songwriting lesson and the
  • 0:10 - 0:15
    songwriting with parameters lesson are
  • 0:12 - 0:17
    very closely tied together if you're
  • 0:15 - 0:19
    teaching songwriting with parameters you
  • 0:17 - 0:20
    can teach songwriting first to refresh
  • 0:19 - 0:22
    everybody's memory and then it should
  • 0:20 - 0:24
    all flow the way you're about to see in
  • 0:22 - 0:26
    the video if you're only teaching
  • 0:24 - 0:28
    songwriting go ahead and skip the second
  • 0:26 - 0:31
    part but it's very possible that someone
  • 0:28 - 0:33
    will ask about differences and choruses
  • 0:31 - 0:39
    and then you can go ahead and teach them
  • 0:33 - 0:40
    the parameters part as well okay so how
  • 0:39 - 0:44
    many of you have ever looked up lyrics
  • 0:40 - 0:47
    to any song alright so you're probably
  • 0:44 - 0:51
    used to having them written down
  • 0:47 - 0:54
    something like this so has anybody ever
  • 0:51 - 0:55
    heard this song before ideally this
  • 0:54 - 0:57
    would be a song that you guys kind of
  • 0:55 - 1:00
    know but it sounds like the majority of
  • 0:57 - 1:03
    you guys don't know this song so I'm
  • 1:00 - 1:05
    gonna teach you the chorus okay so the
  • 1:03 - 1:07
    chorus have have any of you heard of the
  • 1:05 - 1:08
    chorus of a song when you're looking up
  • 1:07 - 1:12
    lyrics you have the chorus of a song
  • 1:08 - 1:16
    right so the chorus goes I'm Annette I'm
  • 1:12 - 1:24
    Anna I'm Anna I'm Anna I'm a nut can you
  • 1:16 - 1:26
    guys do that with me okay that was very
  • 1:24 - 1:30
    good so now we're gonna take it from
  • 1:26 - 1:30
    here here we go
  • 2:20 - 2:27
    okay very good all right
  • 2:24 - 2:30
    so we went through the lyrics why when
  • 2:27 - 2:35
    it said chorus here why didn't you sing
  • 2:30 - 2:35
    that is why I'm cracked you see chorus
  • 2:48 - 2:54
    okay so what you're saying is that we
  • 2:52 - 2:56
    are singing all this because it's
  • 2:54 - 2:59
    written down but when we say chorus
  • 2:56 - 3:03
    we're really referring back to the thing
  • 2:59 - 3:06
    we already defined earlier right we gave
  • 3:03 - 3:09
    this thing a name and that name was and
  • 3:06 - 3:12
    so now anytime we wanted to use this
  • 3:09 - 3:14
    chunk instead of writing it all over and
  • 3:12 - 3:18
    over and over again
  • 3:14 - 3:31
    all we had to do is put the word very
  • 3:18 - 3:34
    good so you could take verse one and
  • 3:31 - 3:36
    define it over here take verse two and
  • 3:34 - 3:39
    define it over here and verse three over
  • 3:36 - 3:42
    here and then you'd write your program
  • 3:39 - 3:47
    by saying verse one chorus verse two
  • 3:42 - 3:50
    chorus verse three chorus very good
  • 3:47 - 3:53
    alright does everybody get how you
  • 3:50 - 3:53
    define a course and use it later
  • 3:54 - 4:00
    okay so now you guys are saying well
  • 3:59 - 4:02
    what if something's kind of different
  • 4:00 - 4:04
    right what if something a little
  • 4:02 - 4:06
    different in the chorus and we want to
  • 4:04 - 4:08
    call with one thing and then with
  • 4:06 - 4:11
    another thing we could just make two
  • 4:08 - 4:14
    different courses all there really is in
  • 4:11 - 4:17
    Old MacDonald is choruses you just sing
  • 4:14 - 4:18
    the same course over and over but you
  • 4:17 - 4:21
    have to change the words so if you were
  • 4:18 - 4:23
    gonna sing all MacDonald's with all your
  • 4:21 - 4:25
    favorite animals you'd have to have 12
  • 4:23 - 4:27
    different courses right that wouldn't
  • 4:25 - 4:29
    save you any writing in fact it might be
  • 4:27 - 4:32
    more writing than you need so what we're
  • 4:29 - 4:36
    doing is we're we're introducing
  • 4:32 - 4:40
    something called a parameter can us a
  • 4:36 - 4:42
    parameter parameter so you probably have
  • 4:40 - 4:47
    noticed the word parameter on our word
  • 4:42 - 4:50
    wall but this is what it actually means
  • 4:47 - 4:52
    it's an extra little bit of information
  • 4:50 - 4:54
    that you want to pass through so that
  • 4:52 - 4:59
    you know what to sing in the chorus
  • 4:54 - 5:04
    because it can change in the chorus so
  • 4:59 - 5:07
    here we're gonna have animal so on his
  • 5:04 - 5:13
    farm he had an animal but are we
  • 5:07 - 5:15
    actually gonna sing animal we need to
  • 5:13 - 5:18
    know which animal we're gonna substitute
  • 5:15 - 5:22
    for the word animal and then whatever's
  • 5:18 - 5:26
    first because animal is first whatever's
  • 5:22 - 5:30
    first is going to become animal and
  • 5:26 - 5:34
    whatever second is gonna become sound
  • 5:30 - 5:37
    very good so let's try this let's try
  • 5:34 - 5:40
    singing the song exactly the way it's
  • 5:37 - 5:44
    written chorus pig oink chorus cow mooo
  • 5:40 - 5:47
    chorus chicken Bock is that is that
  • 5:44 - 5:50
    really what they meant for me to say no
  • 5:47 - 5:53
    so what I want you to do now that you
  • 5:50 - 5:55
    understand the definition when it's
  • 5:53 - 5:59
    called
  • 5:55 - 6:01
    with its parameters I want you to see if
  • 5:59 - 6:04
    your brain automatically knows what
  • 6:01 - 6:07
    you're actually supposed to sing okay
  • 6:04 - 6:51
    here's your test are you ready
  • 6:07 - 6:53
    Old MacDonald job guys
  • 6:51 - 6:55
    so what were some things you notice
  • 6:53 - 6:57
    after you were done going all the way
  • 6:55 - 6:59
    through it called chorus so you went all
  • 6:57 - 7:04
    the way through chorus and then what did
  • 6:59 - 7:07
    you do you went to the next line down in
  • 7:04 - 7:09
    the program right and then you did it
  • 7:07 - 7:11
    again and then you went to the next line
  • 7:09 - 7:12
    down in the program and you did it again
  • 7:11 - 7:14
    and then you got back and there was
  • 7:12 - 7:18
    nothing left in the program so you
  • 7:14 - 7:21
    stopped so that's exactly what a
  • 7:18 - 7:24
    computer does when you have a function
  • 7:21 - 7:27
    and there's a function that you've
  • 7:24 - 7:30
    defined somewhere else and you said hey
  • 7:27 - 7:34
    whenever I say this word I really want
  • 7:30 - 7:36
    you to go do all this stuff so I'm only
  • 7:34 - 7:40
    going to type this cuz I got better
  • 7:36 - 7:43
    things to do but you are gonna run all
  • 7:40 - 7:45
    of this oh and because it changes a lot
  • 7:43 - 7:48
    I'm just gonna let you know what I want
  • 7:45 - 7:52
    these special words to become so all I
  • 7:48 - 7:53
    have to do is this and you're gonna do
  • 7:52 - 7:58
    all the work for me
  • 7:53 - 7:58
    that's functions with parameters okay
  • 8:03 - 8:09
    but we don't have to because a computer
  • 8:05 - 8:12
    inside just a computer's programming it
  • 8:09 - 8:15
    understands it's already been told that
  • 8:12 - 8:17
    these are the way we tell you things
  • 8:15 - 8:20
    later so we don't have to do that as
  • 8:17 - 8:22
    part of this one program because the
  • 8:20 - 8:25
    master program that makes the computer
  • 8:22 - 8:27
    run at all has already told it that's a
  • 8:25 - 8:27
    really good question
Title:
CS Fundamentals Unplugged: Songwriting
Description:

more » « less
Video Language:
English
Duration:
08:30

English subtitles

Revisions