Computer evolves to generate baroque music!

Поділитися
Вставка
  • Опубліковано 8 бер 2017
  • I put the word "evolve" in there because you guys like "evolution" videos, but this computer is actually learning with gradient descent!
    EDIT FROM 2021-05-13: You know the "custom Processing script" I mentioned at 2:05? After 4 years, I finally put it online in a GitHub repo! Check it out: github.com/carykh/caryCompres...
    All music in this video is either by Bach, Mozart, or Computery.
    GizmoDude8128 wins a prize for figuring out that 100101 in base 2 is 37 in base 10 the fastest! (Question inspired by fixylol)
    Andrej Karpathy's blog post on RNNs: karpathy.github.io/2015/05/21/...
  • Ігри

КОМЕНТАРІ • 7 тис.

  • @Ranboso
    @Ranboso 4 роки тому +817

    Cary: Yo dude can you learn baroque music?
    Computer: *You like jazz?*

    • @Brooke-rw8rc
      @Brooke-rw8rc 4 роки тому +16

      Bach was the first Jazz musician!

    • @Historyking258
      @Historyking258 4 роки тому +2

      100th like

    • @CTGReviews
      @CTGReviews 4 роки тому

      Dead meme.

    • @PigIA
      @PigIA 4 роки тому +6

      Charlie BT NO ONE AAAAAASKED (no one asked)

    • @YellowJelly13
      @YellowJelly13 3 роки тому

      jazz is just less polished classical

  • @liamwhite3522
    @liamwhite3522 7 років тому +1927

    png to midi
    insert pictures of apples
    train it for a long time
    midi to png

    • @MegaScytheman
      @MegaScytheman 7 років тому +140

      Liam White I kinda want to see this now

    • @massimookissed1023
      @massimookissed1023 7 років тому +73

      Sam Brownlow , wouldn't wanna taste it, though.

    • @Josbird
      @Josbird 7 років тому +292

      Liam White (png of orange comes out)
      THE FUCK

    • @Yizak
      @Yizak 7 років тому +31

      or just feed it apples
      yum

    • @panda4247
      @panda4247 7 років тому +79

      well, a computer would certainly do better than human on this.
      Try feeding somebody an orange (through their ears) and see what comes out on the other end.

  • @chrismofer
    @chrismofer 4 роки тому +446

    I feel that you could revisit this with more powerful hardware and a more diverse training set, and get continuously listenable results

    • @ianletbey
      @ianletbey 4 роки тому +13

      I guess it would also work better if all the pieces were transposed to the same key.

    • @Kevin-dt9xm
      @Kevin-dt9xm 4 роки тому +11

      i wanna hear the product of someone using this kind of A.I. learning with a shit ton of baroque music as training material just training indefinitely and playing the most recent example every time an example ends. like imagine sitting in a bar where the music is just a learning computer with tens of thousands of hours training

    • @Sparkette
      @Sparkette 3 роки тому +2

      openai.com/blog/musenet/

    • @default4741
      @default4741 2 роки тому

      me and the boys with gaming pcs: OH YEAH

  • @ericsternquist4655
    @ericsternquist4655 5 років тому +183

    i just love how 13:21 - 13:30 sounds; it actually sounds like it could be in a real composition!

    • @yaaasKerchow
      @yaaasKerchow 3 роки тому +1

      first

    • @Insert-thing-here-Fan
      @Insert-thing-here-Fan 3 роки тому +1

      @@yaaasKerchow Secound

    • @Henrix1998
      @Henrix1998 3 роки тому +9

      I'm quite sure that's overfitted part, it sounds so familiar

    • @Omlet221
      @Omlet221 2 роки тому +7

      @@Henrix1998 it might also just sound familiar because it’s using musical cliches even if it’s not a complete match to the data

  • @xyllac
    @xyllac 7 років тому +5376

    me: i only listen to real music
    computer-y: [screams random midi notes into my ears]
    me: that's the stuff

    • @GENATARi
      @GENATARi 7 років тому +165

      real men listen to exe files!

    • @michcode4870
      @michcode4870 7 років тому +60

      Genatari Kralc nah, .png is the stuff

    • @ibegmypardonwhatisaname4288
      @ibegmypardonwhatisaname4288 7 років тому +43

      Michcode No, .gif is the beAst

    • @Benwager12
      @Benwager12 7 років тому +35

      Dudes.. can we just agree on one thing... .html is the best to listen to...

    • @samuelwalker6496
      @samuelwalker6496 7 років тому +45

      Ben Wager nah fam, PowerPoint Projects sound way better.

  • @handlotion8244
    @handlotion8244 5 років тому +1974

    i literally stole a chord from the beginning to finish a jazz progression I was working on.

    • @jasonruka1665
      @jasonruka1665 5 років тому +172

      Yaeh yaeh??

    • @zabkoezikix3m739
      @zabkoezikix3m739 5 років тому +29

      You are robot

    • @GoobNoob
      @GoobNoob 5 років тому +75

      Oi, you got your Computer Chord Generating License mate?

    • @handlotion8244
      @handlotion8244 5 років тому +47

      GoobNoob i need to see your aussie licence before you can talk like that

    • @GoobNoob
      @GoobNoob 5 років тому +48

      @@handlotion8244 My internet speed is 8Mb upload and 3Mb download. How's that.

  • @Atlasm2p
    @Atlasm2p 5 років тому +921

    Probably the computer practiced 40 hours a day
    Edit: holy when did this coment blow up lol
    Edit 2: go to practice

    • @reasonkaa
      @reasonkaa 5 років тому +50

      Ling ling fans everywhere !!!

    • @erase6138
      @erase6138 4 роки тому +17

      Wut du yu meen dere ar onely 30 a day *Emoji spam*

    • @mistermoee
      @mistermoee 4 роки тому +6

      Except it's on piano

    • @MarigoldIsMelancholy
      @MarigoldIsMelancholy 4 роки тому +2

      Geronimo Silva No, it practised 69 hours a day

    • @kinrosolos
      @kinrosolos 4 роки тому +2

      Erase it is 24 hours

  • @Nathan-jc9yz
    @Nathan-jc9yz 5 років тому +849

    The computer created REAL music in 0 minutes.... then destroyed it in 7 minutes.
    How rude

  • @IT-kone
    @IT-kone 7 років тому +2899

    7:02 Seems like up to this point your computer thought Bach is boring, and aspired to play atonal free jazz.

    • @IT-kone
      @IT-kone 7 років тому +60

      12:02 That might be because you transposed the songs: it learned that it's okay to transpose music midsong?

    • @IT-kone
      @IT-kone 7 років тому +71

      18:02 It actually started to sound like baroque music! It had same kind of progressions that was used at the time, style and scale. What it lacked was the human touch, so it has no coherent structure, repeats or meaningful progressions. Frankly I doubt computers will be able to produce esthetic music, but it can be an aide for a composer to find licks and/or inspiration, new out of the box-sounding progressions: your last bit already did some cool and fun stuff, imagine it trained longer with better hardware. Often musicians put recorder on and start playing stuff, and listening it again later. What might have sound relevant while playing might sound passe while revisiting the idea, but often stuff you didn't even notice while playing might be stuff that makes you scream "Woah, what the frack was that!". That's the kind of thing I mean with licks and inspiration.
      What I'm proposing even in the near future is the same approach that FoldIt has: let the computer do the mindless droning, but add human intuition in the mix, which makes all the difference compared to pure computer algorithms. This could also be gamificated quite easily: let your computer run software that learns music, locate and pinpoint cool things where it does it, you might get your musical idea featured in a song that someone/something compiles together as a coherent song.
      There is definetely future in these applications...

    • @aldenperry4158
      @aldenperry4158 7 років тому

      IT-kone i

    • @kayhan4395
      @kayhan4395 7 років тому +73

      lol it said fuck bach and picked up coltrane

    • @oliverhilton6086
      @oliverhilton6086 7 років тому +46

      Maybe it was asked "Do you like Jaazz?" and the neural network was like "oh boy do I!!?!?"

  • @aetherwroughtmusic429
    @aetherwroughtmusic429 5 років тому +668

    What might be a good idea would be to feed only songs in the same key. That way it picks up on chord functionality faster without having to deal with extra key signatures.

    • @corporalcookie5299
      @corporalcookie5299 5 років тому +25

      I think what he meant is to give the network pieces that has the same key signature to have little variance(those wonky off key parts)

    • @antiprismatic
      @antiprismatic 5 років тому +22

      Yeah he needs to give it beginners information and acouple of rules.... Its amazing how all it can organize the information, like a childs brain.

    • @AlexKing-tg9hl
      @AlexKing-tg9hl 5 років тому

      Aetherwrought Music you’re right,

    • @cell0162
      @cell0162 4 роки тому +1

      i have no idea what this conversation is, sounds cool

    • @stormtorch
      @stormtorch 4 роки тому +3

      Cell0 you should know this basic music theory, seeing as your name is literally "Cell0"...

  • @DennisTheZZZ
    @DennisTheZZZ 5 років тому +47

    12:36 - 14:14
    That part was awesome!
    13:13 - 13:56
    That section in particular is extremely good coming from a computer.
    That piano solo, then joined by another resolving in a harmonic chord... Godlike!

  • @wilhelmcough
    @wilhelmcough 4 роки тому +47

    it sounds like at 12:36 it's picked up on canonic/fugal texture! Maybe not perfectly admittedly... but the delay between hands is there and the left hand starts off with a comparable interval and rhythm.

  • @sarahknight6627
    @sarahknight6627 6 років тому +597

    Computer Jazz is an acquired taste.

    • @ricksalazar5602
      @ricksalazar5602 6 років тому +3

      Biodigital jazz man!

    • @RandomTermite426
      @RandomTermite426 6 років тому +6

      Y A L I K E J A Z Z ?

    • @user-ft4pb5vb3e
      @user-ft4pb5vb3e 6 років тому +1

      "Acquired taste: Something [people] only ever say about [things] that [are] terrible."

    • @user-ft4pb5vb3e
      @user-ft4pb5vb3e 6 років тому +1

      Ariel Rozen
      Basically, the original was: "Something people only ever say about food that is terrible."

    • @ugandanknucklesdiedsostopu3937
      @ugandanknucklesdiedsostopu3937 5 років тому

      Ariel Rozen
      to change it so it fits more cuz we’re not talking about food

  • @ZEROmax105
    @ZEROmax105 7 років тому +1387

    -You are just a machine. An imitation of life. Can a robot write a symphony?
    -Yes, robot can write a symphony.

    • @raghavnandyal1518
      @raghavnandyal1518 7 років тому +12

      1IK9 I was thinking of the same thing

    • @prim16
      @prim16 7 років тому +63

      Can YOU?

    • @jae-kwangkim6012
      @jae-kwangkim6012 7 років тому +21

      A robot isn't learning how to do anything, it's just simply learning how to procedurally generate a randomized** set of notes based on certain conditions we've programmed it to follow, combined with some poking and prodding in the mean time to make sure it's going in the right direction. (** It really is randomized, it's just a very narrow range of randomization which we humans interpret as music syntax.)
      Therefore, the difference between a robot and myself is that, although both of us can't write a symphony RIGHT NOW, I can create one from scratch on my own, without having anyone else tell me what to do. A robot can't do that, and thus requires outside help to do anything.
      "But, if you read a book on 'How to write a symphony', how is that any different from a robot being told to read the same book?"
      The difference between humans and robots is acting spontaneously. True, both humans and robots require some kind of outside information in order to do something... but I as a human would be able to act outside of that information. Like, if both myself and a robot were taught baroque music, the robot would simply create various iterations of "baroque music" and not go outside of that. But I could take "baroque music" and warp it into some new form of music type, like rock n roll, or jazz, or any other music type that WASN'T taught to me.
      And as far as I'm concerned, a robot could never do anything outside of what it was programmed to do. It will ALWAYS have some kind of limitation. Now those limitations might bring it close to emulating human 99%, but it'll never EVER be 100%.

    • @raghavnandyal1518
      @raghavnandyal1518 7 років тому +7

      김재광Jae-kwang Kim add to the fact that humans discovered science, music, arts. A robot can only practice them to a certain extent. We figured out things on observations and thoughts, something a robot can't do just yet.

    • @jae-kwangkim6012
      @jae-kwangkim6012 7 років тому

      Exactly; robots can only do what we tell them to do. They don't know how to disobey our orders yet, and I argue that they probably never will.

  • @mimszanadunstedt441
    @mimszanadunstedt441 5 років тому +167

    Why not make a videogame where people have their own music they feed to the ai, and they can vote on other segments of pieces so the ai gets some real evolution in from learning which tracks are more popular, and which are more garbage? And then the ai can learn from all the progresses made from each piece and vote of the gamers who bought the game, for data collection, to make the ai better at trying to produce music people enjoy. It needs different genres and it cannot favor early pieces. Like an early piece may be notable when the game is hyped, then sort by popularity its going to always be the most popular because new gamers are going to click on it, so it'd show favoritism for the first decent piece it produces. And you want genre categories or something. Let people invent their own genres too perhaps. Then people can vote on genre names if its undecided where some pieces should go. And because of the frequent events you can get alot of community involvement.

    • @soultech674
      @soultech674 3 роки тому +5

      Sounds good

    • @berbseedle8286
      @berbseedle8286 3 роки тому +2

      @@soultech674 i agree

    • @darrenflips7346
      @darrenflips7346 3 роки тому +3

      We need him to see this

    • @myh6274
      @myh6274 2 роки тому +1

      I might make a website that does something like that

    • @gamerzero6085
      @gamerzero6085 2 роки тому

      And then we gonna get AI gangsta-rapper, no thanx.

  • @creepingdarkness2136
    @creepingdarkness2136 5 років тому +30

    Plot twist: it was actually him playing all the time

  • @daniel10alien
    @daniel10alien 6 років тому +1308

    If that music was played in the background at the mall I bet most people wouldn’t notice anything different

    • @zac9176
      @zac9176 6 років тому +54

      daniel10alien When parents attend a band concert 😂

    • @Private27281
      @Private27281 6 років тому +12

      They might but probably not because it can be so difficult to hear

    • @an_annoying_cat
      @an_annoying_cat 6 років тому +7

      daniel10alien pop music, amirite?

    • @jaredgameplay2054
      @jaredgameplay2054 6 років тому

      Ziffy's Theorem penis

    • @mcbadrobotvoice8155
      @mcbadrobotvoice8155 6 років тому +2

      daniel10alien or in an elevator

  • @moiquiregardevideo
    @moiquiregardevideo 7 років тому +533

    I would propose another experiment where you convert the 88 piano notes to symbols that help the computer to understand harmonic. This is important because our biological hearing system makes such harmonic analysis in the cochlea. All information that our brain receive is:
    1 - the dominant frequency
    2 - the relative intensity of other frequencies relative to the dominant
    3 - the octaves above the dominant frequency (for x, the dominant frequency, 2x, 3x, 4x, etc) are filtered out in a process similar to edge detect/contrast enhancement in the visual system
    Another important feature in music universal for all cultures is the division in section (equivalent to phrases in text) and division of many such phrases in blocs (equivalent to paragraphs). These division often follow binary patterns, such as:
    -repeat some sequences 4 times
    - repeat an entire group of sequences 2 times, etc
    In am not sure how midi files encode such timing... maybe some musical interval are blank to show a short pause.

    • @terdell
      @terdell 7 років тому +9

      Inspired comment! Hope someone picks up on this

    • @David-du3si
      @David-du3si 7 років тому +9

      Great idea!

    • @letthatsinkin4913
      @letthatsinkin4913 7 років тому +2

      Christian Gingras
      Holy fuck you're smart...

    • @m8onethousand
      @m8onethousand 7 років тому +11

      Ehhh, I don't think it'll make much of a difference in this case. If anything, I'd suggest he tries other type of music. Baroque, and especially Bach's baroque, tends to rely a lot on counterpoint, which in oversimplifying terms means that the melody raises from the chaos between the two ends of the sound spectrum and pretty much juggles back and forth. THAT I'd bet is the main reason why it sounds so damn chaotic in this video. I'd recommend he uses more modern (and quite frankly: bland) piano music where the melody is carried by using the right hand, and the usual chords on the left as structure so as to add depth, and that he makes the program process them individually for each hand.

    • @233kosta
      @233kosta 7 років тому +4

      Christian Gingras Sounds like one ought to come up with a scripting language based on musical notation (in its entirety) and convert the training files to that format straight from midi. Representing the input music properly and allowing the bot to do the same ought to enhance the process quite a bit. If you represent it right it'll pick up the patterns right.
      Still only as clever as the programmer by the looks of things ;)

  • @jackminto7062
    @jackminto7062 4 роки тому +45

    After 1 hour: literally the end of a Beethoven symphony

  • @bradenmitchell5565
    @bradenmitchell5565 3 місяці тому +5

    Bro was making AI music before AI music was even a thing!

  • @vibraphonics
    @vibraphonics 6 років тому +234

    9:41 "Uh... can you please resolve this?"
    "I'm just building suspense, jeez"

  • @neko_aple
    @neko_aple 5 років тому +869

    Human: LEARN HOW TO PLAY BAROQUE MUSIC
    Computer: **does jazz/fusion musics**

    • @CatsInHats-S.CrouchingTiger
      @CatsInHats-S.CrouchingTiger 4 роки тому +1

      Paul Boleche - and they say it can’t think? 🤔 💭

    • @bearsoundzMusic
      @bearsoundzMusic 4 роки тому

      Thelonious Sphere Monk .. do i have to say more -This NN-AI makes TS Monk replicates :p

  • @Safiyahalishah
    @Safiyahalishah 5 років тому +153

    I think the computer needs to use a metronome. 😂

    • @ginniebowman2259
      @ginniebowman2259 9 місяців тому

      How is it ever meant to use a metronome? Take FSB's advice, and be more grateful for what it gives you. Put me on the subreddit R/Wooosh, I wont care. You are a spoiled, ungrateful brat either way.

    • @ginniebowman2259
      @ginniebowman2259 9 місяців тому

      😤😠😤😡😠🤬😡😤😠🤬😠🤬😡😤😠🤬😤😠😡😤😡😤🤬😠😤😡😤😠😤😠😤😡😠😡😤🤬😠😤😡😠🤬😤😡😠🤬😡😤😤😡😠🤬

  • @amey7064
    @amey7064 5 років тому +151

    Finally some copyright free music 🤣

  • @mebezaccraft
    @mebezaccraft 7 років тому +1474

    *YEY TIME TO BECOME SKYNET*

    • @mebezaccraft
      @mebezaccraft 7 років тому +23

      NU-UH!
      IM A PERSON!

    • @ScipiPurr
      @ScipiPurr 7 років тому +6

      But can it learn how to make pancakes?

    • @woopert7
      @woopert7 7 років тому +3

      Niko I'm actually relieved to see he included that bit of humour because it show he understands the dangers and risks of artificial intelligence.

    • @mebezaccraft
      @mebezaccraft 7 років тому +3

      oH HECKER YES ANOTHER PERSON WHO HEADCANONS NIKO AS A GIRL

    • @mebezaccraft
      @mebezaccraft 7 років тому +3

      IM A MONTH LATE BUT THE HECKEREST OF YESSES

  • @andrewscott7728
    @andrewscott7728 5 років тому +2683

    The computer invented jazz in 37 minutes...

    • @bejhamen7631
      @bejhamen7631 5 років тому +30

      Andrew Scott lol it actually sounds like it

    • @atriyakoller136
      @atriyakoller136 5 років тому +77

      And 0 minutes sounds like ragtime to me

    • @paultan5419
      @paultan5419 5 років тому +56

      Turns out jazz sounds the same as random notes strung together by a computer... hmm

    • @ScarrCrow
      @ScarrCrow 5 років тому +38

      @@paultan5419 guess you don't know anything about jazz huh...

    • @paultan5419
      @paultan5419 5 років тому +28

      ​@@ScarrCrow Im just taking the piss out of it, not a fan of jazz.

  • @SergePupko
    @SergePupko 5 років тому +41

    I think if there was a way to implement start, end and realistic reach for the fingers on both hands you would probably eliminate some of the junk notes that are sort of in the middle of no where. But I honestly don't know how hard that is to program so I should just shut up.
    In all honesty, I like it. Conputery learned in just a say what would take me a few lifetimes.

  • @RedEyedJedi
    @RedEyedJedi 5 років тому +55

    That's amazing! It completely mastered jazz after 7 minutes of training.

  • @ErikRyde
    @ErikRyde 7 років тому +834

    As a musician this terrifies me

    • @dustymarlatt4528
      @dustymarlatt4528 7 років тому +15

      Erik Ryde I am feeling the exact same way.

    • @thaddeuskobylarz8519
      @thaddeuskobylarz8519 7 років тому +3

      Erik Ryde same

    • @burning_lemons4514
      @burning_lemons4514 7 років тому +1

      Oh yes

    • @Kobrag90
      @Kobrag90 7 років тому +19

      HA! Mechanisation come for everybody!

    • @Stingetan
      @Stingetan 7 років тому +43

      It is cool as fuck! Imagine being able to jam with an AI-companion that knows you and how you play?

  • @ArtemisNightlock
    @ArtemisNightlock 6 років тому +405

    After 30 minutes the computer learned jazz

  • @lucendo6168
    @lucendo6168 5 років тому +71

    *When you skip class for a year and have to do everything at the same night for the exam*

  • @BlueEngland
    @BlueEngland 3 роки тому +8

    If Cary didn't put the "You can see my underwear" text at 0:29 I would not have noticed

  • @Ganondurk
    @Ganondurk 7 років тому +1251

    Post the program you used so we can use our powerful GPUs to train it!

    • @cee_que
      @cee_que 7 років тому +5

      :D he should

    • @cee_que
      @cee_que 7 років тому +2

      also powerful CPU+GPU :D (i personally have an I7 6700k gtx980)

    • @ANT-jm4qx
      @ANT-jm4qx 7 років тому +6

      Yes! He could use distributed computing.

    • @carykh
      @carykh  7 років тому +205

      Oh wow, I don't know why I hadn't thought about that! All I'd really have to do is give you the ~18 MB "re-formatted" text file (the one that goes "Yaeh Yaeh Yaeh Yaeh"), and all you have to do is get Karpathy's LSTM code working. (github.com/karpathy/char-rnn) (That might actually not be so easy, because it took me a few days to get Linux and Torch working before I could run it.) But then I just send you my text file, you train the LSTM for a few days straight, get a decent output sample, send it back to me, and I convert it back into music!
      Of course, I could also give you guys everything, including the MIDI-to-text conversion programs, but I think at that point I'd need to make a tutorial video.

    • @TheWaffle654
      @TheWaffle654 7 років тому +111

      You should do an Step-by-step on how to do this ourselves! I wanna let this thing train for days/weeks and see what it can do.

  • @sethroy4318
    @sethroy4318 5 років тому +362

    _"There are too many notes here, Mozart!"_

    • @2009xellos
      @2009xellos 5 років тому +5

      Mozart was more talented than Bach. Mozart started writing fugues at 12. Bach didn't even write his first composition at 20.
      MOZART'S FUGUES (number inside brackets indicate the age he wrote them)
      Missa solemnis in C minor "Waisenhausmesse" KV 139 Gloria (12): ua-cam.com/video/vnxH8M31F3g/v-deo.html
      Missa solemnis in C minor "Waisenhausmesse" KV 139 Credo (12): ua-cam.com/video/vnxH8M31F3g/v-deo.html
      Mass in C major "Dominicus Messe" K66 Gloria (13): ua-cam.com/video/rlQJ2bgK3RQ/v-deo.html
      Mass in C major "Dominicus Messe" K66 Credo (13): ua-cam.com/video/rlQJ2bgK3RQ/v-deo.html
      Miserere in A minor, [4-part contrapuntal study] K.85 (14) ua-cam.com/video/_PxqQOUn1v0/v-deo.html
      KV125 - Pignus Futuræ Gloriæ (16): ua-cam.com/video/dQ77xyyffjA/v-deo.html
      Missa in honorem Sanctissimae Trinitatis in C major KV 167 Gloria (17): ua-cam.com/video/X9T_URjVl5I/v-deo.html
      Missa in honorem Sanctissimae Trinitatis in C major KV 167 Credo (17): ua-cam.com/video/YvCnr15hh78/v-deo.html
      Missa in honorem Sanctissimae Trinitatis in C major KV 167 Agnus Dei* (17): ua-cam.com/video/g2teM5WckzA/v-deo.html
      String Quartet No. 8 in F major K. 168 (17): ua-cam.com/video/3JDrlCG-y_E/v-deo.html
      String Quartet No. 14 in D minor K. 173 (17): ua-cam.com/video/q5MVDsqIqCY/v-deo.html
      Litaniae de venerabili altaris sacramento K243 [double fugue] : VIII Pignus (19): ua-cam.com/video/U-PDJozhBLI/v-deo.html
      Misericordias Domini in D minor K.222* (19): ua-cam.com/video/lEBYufTXJQk/v-deo.html
      Missa Longa in C K262 Gloria (19): ua-cam.com/video/yCDFfN7g_Bk/v-deo.html
      Missa Longa in C K262 Credo (19): ua-cam.com/video/yCDFfN7g_Bk/v-deo.html
      Vesperae solennes de confessore in C, K.339 - 4. Laudate pueri Dominum (24): ua-cam.com/video/c3rDwFFQ6bQ/v-deo.html
      Missa solemnis in C, K.337 - 5. Benedictus (26): ua-cam.com/video/ghAa3BJ4b5I/v-deo.html
      Praeludium and Fugue KV 394 (26): ua-cam.com/video/m9vVu8rNON4/v-deo.html
      Suite in C K.399 - I. Overture K399 (26): ua-cam.com/video/UHgs7-u7wGQ/v-deo.html
      Sonata for Keyboard and Violin No. 29 in A Major, K. 402: II. Fuga (26): ua-cam.com/video/mMe4MCsH2WY/v-deo.html
      Trio (Fuga a 3) in G Major, K. 443 (27): ua-cam.com/video/UtLOtTDk848/v-deo.html
      Fugue In G Minor KV 401 (27): ua-cam.com/video/tXpV-gpgkQw/v-deo.html
      Fugue In E Flat Major KV 153 (27): ua-cam.com/video/_2rpWr3etWo/v-deo.html
      Fugue In G Minor KV 154 (27): ua-cam.com/video/2t42ZCeLxlk/v-deo.html
      Grosse Messe in C minor KV 427 Jesu Christe - Cum Sancto Spiritu [double fugue] (27): ua-cam.com/video/97Twh_q8lQs/v-deo.html
      Grosse Messe in C minor KV 427 Sanctus - Osanna [double fugue] (27): ua-cam.com/video/97Twh_q8lQs/v-deo.html
      Adagio and Fugue for String Orchestra in C Minor, K. 546 (32): ua-cam.com/video/PFXF0Aysh4w/v-deo.html
      Fantasia for mechanical organ in F minor K594 (34): ua-cam.com/video/Qka_HMc2ajc/v-deo.html
      Fantasia for mechanical organ in F minor K608 (35): ua-cam.com/video/Jkh8Re4JUCw/v-deo.html
      Overture to Die Zauberflote K620: ua-cam.com/video/c2TGbfzTx2A/v-deo.html
      Der, welcher wandert diese StraBe voll Beschwerden (35): ua-cam.com/video/kB56nw1zx-o/v-deo.html
      Requiem in D minor K626 Kyrie [arguably the greatest double choral fugue not written by Bach]
      (35) ua-cam.com/video/8ybTabIfLgY/v-deo.html
      Requiem in D minor K626 Domine Jesu (35): ua-cam.com/video/i4DyyUvZws4/v-deo.html
      there's more
      + tons of classical counterpoint in string quartets, quintets, symphonies, concertos
      + tons of choral, vocal, instrumental canons and canonic minuets
      Magnificent Counterpoint in the Finale of Mozart's Jupiter Symphony: ua-cam.com/video/YTxYykhQZbI/v-deo.html
      The Ingenious Fugal Finale of Mozart's G Major Quartet, K. 387: ua-cam.com/video/uoXDHOyfJ-k/v-deo.html
      The Incredible Finale of Mozart's K. 590 Quartet in F Major: ua-cam.com/video/nkbdUjjfRTQ/v-deo.html
      Invertible Counterpoint in the Finale of Mozart's D Major String Quintet, K. 593: ua-cam.com/video/IQbxsGtyc2g/v-deo.html
      Mozart: Canon for four voices, in C major, Anh. 191, K 562c: ua-cam.com/video/YC9bKfzXC18/v-deo.html
      *Beethoven wrote his 9th symohony choral parts from studying these two choral works of Mozart

    • @ryanxin1848
      @ryanxin1848 5 років тому

      What

    • @pseunition6038
      @pseunition6038 5 років тому +10

      @phonetheanimator That wasn't a woosh. He was also making a reference to the movie.

    • @slapslicks7531
      @slapslicks7531 5 років тому

      @@2009xellos jesus. thanks Bach wiki

    • @YoGeeJeTeLoL
      @YoGeeJeTeLoL 5 років тому +1

      @@pseunition6038 he wooooosh the woooooosh

  • @xmasterjkm
    @xmasterjkm 5 років тому +613

    u failed to mention how you calculated the loss per note which is kinda important to understanding this lol

    • @dead.9628
      @dead.9628 5 років тому +25

      loss per note = d e l t a

    • @heinzguderian9980
      @heinzguderian9980 5 років тому +58

      @@dead.9628 No shit. But he didn't mention how he decided if a note was "right" "wrong", and how "wrong" that note was. Was it simply based on distance from the "correct" note? Or did also take into account things like whether the note fit into the harmony of that section?

    • @UltramanII
      @UltramanII 5 років тому +17

      @@heinzguderian9980 It's probably based on simple math/physics. I only did very little research in this, but I know that a "perfect 5" such as C+G or D+A, the frequency of the higher note is 1.5x times the lower note. For the same note, the one on the higher octave is 2x the frequency of the one below it. And many of those harmonious combinations that are pleasing to ears have some "good looking" numbers and easy fractions and stuff, such as 1.33x, 1.2x. He probably based his program on these.
      Or it could be even simpler - just tell it to learn from the frequency difference in those classical music.

    • @EclipseHDs
      @EclipseHDs 5 років тому +107

      @therainman777 You may be right, but you''re still a major fuckhead.
      Two out of four lines dedicated to insulting a dude who guessed his best to explain something (much like you did) speaks volumes as to how antisocial you are.
      I sincerely hope you get your head out of your ass.

    • @UltramanII
      @UltramanII 5 років тому +31

      ​@therainman777 ​ You talked as if I don't understand the basics of AI, but I do. I think you are right in this case, but the frequency differences I described could also be used as a viable evaluation metric to train an composing algorithm, if your inputs are completely random rather than bits and pieces of already established classical music. I'm sorry I jumped to conclusions, but there is no need to call it nonsensical and dumb, because it's the fundamental of acoustics.

  • @gotouguts2066
    @gotouguts2066 4 роки тому +14

    Computer: plays beautiful progression
    Me: “Nice! Now you’re getting it!”
    Computer: proceeds to rape my ears
    Me: “Okay, hold up”

  • @BubbleDouble
    @BubbleDouble 6 років тому +960

    Legend says that if you let it training for 1000 years, the computer will play Smash Mouth All Star

    • @Jay-lz2wc
      @Jay-lz2wc 5 років тому +15

      In theory, in an infinite amount of time, everything, even the impossible, will occur

    • @HailNeatoBurrito
      @HailNeatoBurrito 5 років тому +10

      It's like the old saying: Give a chimpanzee a typewriter and eventually it'll write Shakespeare.

    • @bangbangliu2146
      @bangbangliu2146 5 років тому +2

      Jaden Venable if you observe a particle for an infinite amount of time, you will never learn its exact position and velocity. Impossible things can't happen.

    • @tonyhakston536
      @tonyhakston536 5 років тому +8

      Bangbang Liu
      Not with that attitude.

    • @MrGollum1996
      @MrGollum1996 5 років тому

      Despacito 2.0

  • @swng314
    @swng314 6 років тому +993

    God... the 3 solved cubes on the desk, the desktop running Ubuntu with Unity, Discord open on the screen...
    college life

    • @Asidders
      @Asidders 6 років тому +5

      What's Unity?

    • @brandoncole3710
      @brandoncole3710 6 років тому +9

      Giradox the desktop environment, basically the interface

    • @encyex4800
      @encyex4800 6 років тому +17

      unity is a creation program

    • @lazyeffectz3511
      @lazyeffectz3511 6 років тому

      WAIT THERES CUBES I DIDNT NOTICE DAT AAA

    • @KettLovahr
      @KettLovahr 6 років тому +8

      EncyEx, in this context Unity is the Ubuntu Desktop Environment

  • @theevauwu7853
    @theevauwu7853 4 роки тому +29

    LSTM: hey so I figured out these really cool dramatic chords that put a lot of drama into the song.
    Cary: ooo dramatic. Then what are you gonna play after to resolve it?
    LSTM: I don't know I didn't think I'd get this far

  • @brandontechnerd
    @brandontechnerd 4 роки тому +31

    I like how you fit 1:40
    "This website is so old, Some of the links are older than me"
    into a tune

  • @neilb13
    @neilb13 7 років тому +568

    It's playing all the right notes, but not necessarily in the right order.

    • @DerInselaffe
      @DerInselaffe 7 років тому +6

      Both hands slap cheeks.

    • @Gabrol
      @Gabrol 7 років тому +32

      what is music without order tho

    • @hammercanttouchthis
      @hammercanttouchthis 7 років тому +10

      Gabrol chaos theory to midi conversion

    • @michaelgriffin85
      @michaelgriffin85 7 років тому +3

      music is music. the typing on my keyboard is music. despite the fact it isn't in order. just cause it doesn't sound good doesn't mean its not in order

    • @alessibila1636
      @alessibila1636 7 років тому

      I agree, music is a unit of notes :)

  • @zajec11
    @zajec11 6 років тому +598

    "I'm going to become skynet" XD

  • @Phant7sm
    @Phant7sm 4 роки тому +35

    Cary's programming teacher: what music do you listen to
    Cary:its complicated

  • @floodedbasement__
    @floodedbasement__ 3 роки тому +8

    "Computery, you're free to go"
    *_"Yay, time to become skynet"_*

  • @shoom8115
    @shoom8115 7 років тому +611

    *Yo fam pass the aux*

    • @chasedoes9117
      @chasedoes9117 7 років тому +23

      u better not play trash

    • @SuperNuclearBoss
      @SuperNuclearBoss 7 років тому +15

      ChaseDoes Music and Gaming
      Me: yo pass the aux cord
      Friend: u better not Fail to generate baroque music
      Me: \('_ )
      \|_|
      🎹 |

    • @tjahjobagaaa
      @tjahjobagaaa 7 років тому +8

      ChaseDoes Music and Gaming *_0 minutes of training_*

    • @noredine
      @noredine 6 років тому +2

      solve this captcha 1st

  • @johnchessant3012
    @johnchessant3012 6 років тому +72

    "... and any file over 30 kilobytes is labeled to warn you of its large size."
    Lol!

    • @johnchessant3012
      @johnchessant3012 6 років тому +8

      Yes I know, it's amazing how far we've come in just 20 years.

    • @danielgrace7887
      @danielgrace7887 6 років тому

      A lot of algorithms are at least n squared in complexity. 30,000 squared is quite a big number.

    • @Mystosia
      @Mystosia 5 років тому

      So wrong @MrAlen61 it's not that substantial, it is a lot though

    • @danielfrei6213
      @danielfrei6213 5 років тому

      240p

  • @nxise0001
    @nxise0001 4 роки тому +17

    13:21 This part was so good!

  • @vincentrodriguez4170
    @vincentrodriguez4170 5 років тому +21

    Cary: "And this is the final result after 6 hours of training!"
    Video is halfway done
    Me: "I see what you did there..."

  • @ImaDragonBorn
    @ImaDragonBorn 7 років тому +1591

    If it's continually creating music, could you listen to it and rate sections of the songs to allow the program to know what "sounds" good and bad and allow it to continue making music more similar to the higher rated ones and less of the lower rated music?

    • @ernwillburn
      @ernwillburn 7 років тому +208

      Max Delay yes, but you would have to do ALOT of times

    • @geofish101
      @geofish101 7 років тому +63

      Yeah It would be interesting if you could come up with a library of good a bad music to train it off, it may push the network... The only issue is that doesn't exist/... XD

    • @ImaDragonBorn
      @ImaDragonBorn 7 років тому +106

      George A it may be unconventional or slow, but if he makes a tutorial and allows other people to generate the music it may be possible. Say you generate a 20 second midi clip and rate it from a scale from 1 to 10, we then upload that to a shared location and other users can download those files to use as training data

    • @planktonfun1
      @planktonfun1 7 років тому +4

      nah basically compressing random music into one pattern

    • @Unknown-ws9tw
      @Unknown-ws9tw 7 років тому +14

      Perhaps like George A said, a training set of good and bad songs, (specifically noted), maybe bad would be considered you recording yourself mashing random keys.

  • @mathieuclement8011
    @mathieuclement8011 5 років тому +1167

    If you used pop music as input, you'd get pretty good results with 5 seconds of training, probably.

    • @KaRaMaNisKaRaMan
      @KaRaMaNisKaRaMan 5 років тому +18

      But how will you get the computer to think up/generate vocal sound?

    • @brianhamel5640
      @brianhamel5640 5 років тому +158

      @@KaRaMaNisKaRaMan You wouldn't insert the actual songs, you'd take a transcription as a digital file. What I believe Mathieu is saying, he's making a jab at how incredibly simple most pop songs from a musical standpoint. They're pleasing to the ear, but they're all quite similar and simple.

    • @Lilly-Lilac
      @Lilly-Lilac 5 років тому +17

      Delysid '47 what vocals? There’s words in those?!?!?

    • @isabellelanguardia4345
      @isabellelanguardia4345 5 років тому +27

      Brian Hamel they're pleasing to the ear (of non classically trained musicians) I get so bored listening I V VI IV over and over again. It's why I can't listen to Canon in D, it was the original four chord song.

    • @Vextrove
      @Vextrove 5 років тому +14

      It would just repeat itself over and over again.
      Pretty accurate

  • @jamesnw
    @jamesnw 5 років тому +23

    It all sounds like when I first learned to play the piano. I always thought it sounded great; but my parents, not so much. lol

  • @CatsInHats-S.CrouchingTiger
    @CatsInHats-S.CrouchingTiger 4 роки тому +1

    That was wonderful! I really enjoyed him discovering the DRAMATIC notes, and then the legato chords.... so touching! 💕🙈

  • @Fl33tW00dGaming
    @Fl33tW00dGaming 6 років тому +362

    *Time to become skynet*

    • @jamesguantia2317
      @jamesguantia2317 5 років тому

      Terminator *I can’t remember*

    • @samandrew8158
      @samandrew8158 5 років тому

      ...yeet

    • @TavoC20
      @TavoC20 5 років тому +3

      I'll be Bach

    • @darkshadowsx5949
      @darkshadowsx5949 5 років тому

      (terminator whips out a portable keyboard.)
      terminator: you will listen to my music NOW!
      human: oh god make it stop !
      7 hours later human commits suicide.
      terminator: at least let me finish.... (continues playing)

  • @infrasonora734
    @infrasonora734 5 років тому +369

    you just don`t get it, it`s F R E E J A Z Z

    • @samandrew8158
      @samandrew8158 5 років тому +8

      *It's free real estate*

    • @greybowman
      @greybowman 4 роки тому

      Ah the beautiful sound of free form jazz

    • @Atlasm2p
      @Atlasm2p 4 роки тому

      *Now you need to listen free form jazz*

    • @ysink
      @ysink 4 роки тому

      Why backticks not apostrophes

    • @yoshi_drinks_tea
      @yoshi_drinks_tea 4 роки тому +1

      @Sith'ari Azithoth Hah, taste is different. Don't act like your opinion makes a funny or quirky.

  • @purplelow479
    @purplelow479 5 років тому +26

    Me: computer make music
    Computer: okay there you go
    *plays every frecuency audible for humans
    Me: OK computer

  • @fishsticks8198
    @fishsticks8198 4 роки тому +4

    9:06 i was so stoked for those first 4 notes sounding really baroque-y but then it just fucked.

  • @jimdanielhoxworth3374
    @jimdanielhoxworth3374 6 років тому +1921

    _Why did you have to turn the Jazz Machine into a Baroque Machine?_

    • @Hugh_Jas
      @Hugh_Jas 6 років тому +207

      If it ain't baroque, don't fix it!
      I'll show myself out.

    • @ChildOfAnAndroid
      @ChildOfAnAndroid 6 років тому +15

      +ElQuark0 but you say it 'ba-rock' not 'ba-roke'

    • @Marquis-Sade
      @Marquis-Sade 6 років тому

      Why?

    • @24karatcarrot90
      @24karatcarrot90 6 років тому +8

      +Charis Cat Nope, it is actually pronounced ba-roke.

    • @reedy_9619
      @reedy_9619 6 років тому +4

      Jim Daniel Hoxworth because he created an alcoholic pianist

  • @GA2Skein
    @GA2Skein 6 років тому +178

    Suggestion: Don't do the looping animation thing at the end. It made it hard to focus on what you were saying.

    • @kodredcud
      @kodredcud 5 років тому +5

      Holy shit I thought I was the only one. Thank you!

    • @Blobbyo25
      @Blobbyo25 5 років тому +7

      Yeah Id prefer just midi music scrolling i found it hard to concentrate

  • @Rude_i_Wredne
    @Rude_i_Wredne 5 років тому +7

    The last piece of "Bach" set sounded actually baroque. Like a child who tries to read a new piece of Bach, given to them 2 minutes before. Quite a magnificient result.
    I'm only surprised with how random the rhytm pattern seemed to be. It was generally worse than harmony. In baroque era, there was little to none experimenting with the rhytm and most of the music is written as sixteenth notes all the way.

  • @SysOpQueen
    @SysOpQueen 3 роки тому

    I loved the skit in the beginning! It was funny but adorable! haha (i also like the animation!)
    Very informative video! Much appreciated!

  • @theoriginalmakaaka101
    @theoriginalmakaaka101 7 років тому +73

    My family once had a schizophrenic man stay with us for a few days. I remember waking up at like 3am and hearing him play our piano like this.

    • @austin402
      @austin402 6 років тому +6

      oof

    • @notaras1985
      @notaras1985 6 років тому

      computers taking over the world confirmed now.

  • @xenoraijin
    @xenoraijin 7 років тому +543

    Humans take 10,000 hours to master something, this machine learned a lot in 2 hours.

    • @Ladifour
      @Ladifour 7 років тому +29

      Mr. Miner Mike That number is an urban legend.

    • @TlalocTemporal
      @TlalocTemporal 7 років тому +44

      Whatever it is, it''s a lot more than 2.

    • @lukascielocaminante257
      @lukascielocaminante257 7 років тому +19

      Well I did the maths some times back and I don't really remember but I think 10.000 hours was like 4/5 hours a day every day for 10 years, seems like what you would need.

    • @antonhelsgaun
      @antonhelsgaun 7 років тому +7

      Mr. Miner Mike tho that's kinda bullshit

    • @lcGlHeaD
      @lcGlHeaD 7 років тому +1

      i mastered violin by just playing it 2 to 3 hours a day in a month, i can play any classical music at the first attempt most of the time by just reading a signature while im on it and do most techniques with barely 90 hours of training, 1% of what you claim

  • @chessyboidaily1150
    @chessyboidaily1150 4 роки тому +16

    When she says i like guys that play piano
    Me: 4:56

  • @eamartig
    @eamartig 5 років тому +6

    4:50 I give you 5 cats having violent seizures on a keyboard

  • @Tobias-dp7xh
    @Tobias-dp7xh 7 років тому +223

    you should develop a platform where we can share processing power with you. This way you have more computers with out having more computers.

    • @serubyne57
      @serubyne57 7 років тому +9

      "have more computers without having more computers"
      Uhhh... What?

    • @AdroSlice
      @AdroSlice 7 років тому +9

      There is something like that for rendering Videos and Animations online, actually, I think it's called a renderfarm.

    • @nickr9505
      @nickr9505 7 років тому +9

      Tobias1198 are you talking about a bot net?

    • @sharp14x
      @sharp14x 7 років тому +5

      Yes, but something more like folding@home.

    • @doylemclaren2956
      @doylemclaren2956 7 років тому +11

      Already exists, look into distribution computing. You basically create a massive WAN where people can donate processing power of idling computers (think of it as a botnet)

  • @aboutschween
    @aboutschween 7 років тому +44

    well if its not baroque, don't fix it!
    I'll be leaving now...

  • @ElliLavender
    @ElliLavender 5 років тому +3

    Woah, the final result after learning Bach and Mozart is actually really really good!

  • @chasemeadows6176
    @chasemeadows6176 5 років тому

    I have t say, by the end of this, it was much better than I had expected. Well done for an A.I!

  • @NoogahOogah
    @NoogahOogah 7 років тому +109

    Carykh: I'm super excited about this project, because I'm passionate about classical music. I know very little about machine learning, so I'm not sure these observations will be very useful to you, but they make intuitive sense to me:
    1. You aren't training your program on a very structured data set. By indiscriminately feeding it Bach's entire library of music, you're mixing fugues, cantatas, inventions, chorales, preludes, canons, motets, etc.
    2. Then, you're throwing in Mozart who was born /six years after Bach died/. His musical style is radically different from Bach's, because as you know, Bach was baroque; Mozart wasn't. There are very, very significant structural differences between these types of music. If you aren't convinced, just listen to ten minutes of the Hallelujah Chorus, and then ten minutes of Mozart's Requiem.
    I may be wrong, but it makes intuitive sense to me that your program will end up creating better music if it is given samples of music with more similar structures first. Throwing in two centuries of musical tradition and expecting to get something Baroque out of it is like feeding Scott Joplin, George Gershwin, Phillip Glass and Arvo Part in a stew and expecting to hear anything remotely like one of them.
    Or to be more contemporary: Louis Armstrong, The Beatles, Queen and Skrillex. It won't work.

    • @BuckeyeStormsProductions
      @BuckeyeStormsProductions 7 років тому +2

      NoogahOogah But, why not? I like varying genres of music, but most music I like has similar qualities. I have often wondered what could happen if you could fuse these varying styles into a cohesive creation.

    • @tiberionjraxiosn9493
      @tiberionjraxiosn9493 7 років тому

      (I has no knowledge, thiz iz puuure intuishon) Well, machine learning can be quite similar to a child. If we give a child two book variants, say... Mathematics and (only one). The child can't learn something solid with those two books alone. Of course, they learned a thing or two, but the data they processed in their brain is inconsistent, thus their processes *might* create an error or two.
      Now back to stupid mode :D:D:D:D:D
      WEEEEEEEeeeeeeeeeeeeeEEEEEEeeEeEeEee

    • @betamike8676
      @betamike8676 7 років тому +1

      Tiberion Jraxiosn lol

    • @SirMatthew
      @SirMatthew 7 років тому +5

      In the world of computer science, anything goes!

    • @NoogahOogah
      @NoogahOogah 7 років тому +9

      BuckeyeStorms Mixing genres is great, but if you think about it, you can't really mix genres until you understand how they work separately. This program didn't create something that sounded like Bach and Mozart together - it created something that sounded really confused, and not like Bach or Mozart.

  • @FutureAIDev2015
    @FutureAIDev2015 7 років тому +223

    So computers can learn how to be creative, and this creativity results from using examples from real human creativity and some randomness...

    • @x8OxygeN8x
      @x8OxygeN8x 7 років тому +101

      Matthew Ferrie humans get creative the same way actually

    • @elehatz7764
      @elehatz7764 7 років тому

      Matthew Ferrie Pseudo-randomness but yeah.

    • @theskullhead100
      @theskullhead100 7 років тому +7

      random does not exist in computation

    • @thing674
      @thing674 7 років тому

      except... there is literally random in computation. Give it a look up.
      EDIT: Some works on the decay of a radioactive element, which is random. Some work off of the input of someone (I believe linux does this)

    • @carlosfernandez5833
      @carlosfernandez5833 7 років тому

      And human creativity results from using examples from other humans, as well as some randomness.

  • @aaronmichaud1
    @aaronmichaud1 10 місяців тому

    Thank you for doing this project! It was so interesting and amazing!

  • @ldgaming4213
    @ldgaming4213 2 роки тому +1

    It's strange how at around 30 minutes, you can really start to hear the remnants of a coherent piece forming, even after such little time.

  • @caseykoons
    @caseykoons 7 років тому +171

    What if you tried it with popular music? Three-chord rock songs and the like.

    • @TheFloatingSheep
      @TheFloatingSheep 7 років тому +58

      Casey Koons or with jazz
      maybe that way he'd actually get some Bach

    • @calebkirschbaum8158
      @calebkirschbaum8158 7 років тому +2

      The voice would mess that up big time.

    • @TheKrisfk
      @TheKrisfk 7 років тому +7

      caleb kirschbaum instrumental

    • @Poats
      @Poats 7 років тому +6

      A lot of midi files don't have any instrument for voice

    • @KingBobXVI
      @KingBobXVI 7 років тому +5

      You'd just end up with Pachelbel's Canon on repeat forever.

  • @arkady0177
    @arkady0177 6 років тому +216

    Maybe you should try transposing all the input music to one key, like, C major, and do not feed him major and minor music at once. That may help it to learn the harmony faster. Or you can try something easier, like medieval motetos, or some Renaissance vocal polyphony music

    • @ggdk2865
      @ggdk2865 6 років тому +18

      As1052 Major and moron, nice 😀

    • @buddyclem7328
      @buddyclem7328 5 років тому +5

      That would be a _major,_ or _minor_ improvement!

    • @McOuroborosBurger
      @McOuroborosBurger 5 років тому +1

      It did learn key centers and modulation between keys believe it or not. So it really does not seem to matter what key a piece of music is in

    • @AEFic
      @AEFic 5 років тому +3

      David Cope pioneered computer generated music and used this exact technique: His computer program was able to generate Mozart replicas that people found indistinguishable. I think that was some 10 years ago or so.

  • @santiagoops
    @santiagoops 5 років тому

    Grat vid man! Love all this neural networks and music stuff

  • @yerboi2902
    @yerboi2902 5 років тому +5

    I think if you limit the input data to songs in the same key, by multiple composers, you could create an awesome random melody generator for any given scale, or modulation

  • @AximVidya
    @AximVidya 7 років тому +7

    The bit at 5:32 actually sounds surprisingly good, but not at all like classical music. Has a distinct jazzy vibe to it.

  • @Maffoo
    @Maffoo 6 років тому +410

    Oh god that 1997 bit made me feel a little bit sick.

    • @greekstraycats
      @greekstraycats 6 років тому +25

      It make me feel a littel OLD... It is was yesterday!

    • @lokalnyork
      @lokalnyork 6 років тому +14

      When I remember I was born in previous millennium... ;________;

    • @patjohbra
      @patjohbra 6 років тому +11

      Maffoo Funny, the circled 1997 files were uploaded the day before I was born

    • @Stettafire
      @Stettafire 6 років тому +11

      I mean, I'm like three years older then the guy in the video and my coding abilities are nowhere near xD Less old I'm feeling and more inadequate :P Goes to show age isn't an excuse. Now to go learn PHP:)

    • @forevercomputing
      @forevercomputing 6 років тому +1

      I was nearly done with school by then.

  • @caitlunsford2440
    @caitlunsford2440 5 років тому

    its so funny, you can totally hear it use certain musical concepts and sometimes it switched time signatures during the last one(s) 😂 i really liked this video!!

  • @davidgonzalez-herrera2980
    @davidgonzalez-herrera2980 5 років тому

    I'm composing right now and heard a lick your computer made and am inspired now to use it

  • @peterhammel3799
    @peterhammel3799 7 років тому +132

    Is your computer doin gigs already?

    • @SrgntSprnkls77
      @SrgntSprnkls77 7 років тому +17

      Peter Hammel its hopefully got at least 8

  • @ThatVulcan
    @ThatVulcan 6 років тому +79

    Imagine if you could put this as the music production engine in a video game.

    • @richleth3721
      @richleth3721 6 років тому +14

      Randomly generated boss music; that would be cool

    • @TheSentientCloud
      @TheSentientCloud 5 років тому +2

      That's my thought too. I know that Antichamber has procedurally generated music (I've never heard anything loop or any sequence of notes get reused, except the opening sounds), with tons of pads and other ambient/atmospheric sounds, but it's not remotely like this.
      It'd be cool to see a game have intelligently generated music like this.

    • @TCGProductions03
      @TCGProductions03 5 років тому +1

      Said game would be one heck of a CPU hog

    • @buddyclem7328
      @buddyclem7328 5 років тому +2

      I once generated music on a Commodore 64 by counting up from 0-255 and down from 255-0 at the same time, logical ANDed the numbers together, and sent the result to the sound chip as pitch. The result was surprisingly pleasant. I tried with other logical operators, but none sounded as good. IIRC, OR and NOR sounded really scary.

  • @belrestro
    @belrestro 5 років тому

    This one sound way better, cool stuff man )

  • @puregoldsword
    @puregoldsword 5 років тому

    I just found that as the training time becomes longer, the loss becomes smaller!
    Good job

  • @QuartzOfficial
    @QuartzOfficial 6 років тому +452

    Loss: I II II I_ per note

    • @ponponpatapon9670
      @ponponpatapon9670 5 років тому +3

      are you an alternate me?

    • @freeblowjobs3006
      @freeblowjobs3006 5 років тому +18

      I'm calling the police

    • @portalfan15
      @portalfan15 5 років тому +2

      The sad thing is that i knew what this was immediately...

    • @cutecommie
      @cutecommie 5 років тому

      He actually explained loss with the Loss meme in a later video.

    • @rune.theocracy
      @rune.theocracy 5 років тому

      FUCK YOU that was so bad

  • @TheKeatonWarrior
    @TheKeatonWarrior 7 років тому +182

    Soooooooo, can you put up a video of 10 hours of the music?

    • @zachburke8906
      @zachburke8906 7 років тому +3

      VitaliiDaGamer right now the system out puts 1 hour of music for 1 hour of time does it not?

  • @kieferlord609
    @kieferlord609 4 роки тому +5

    I did a similar project with Led Zeppelin instead of Bach. Also used my own LSTM. It took about a week of training to get good results

  • @someone-T4I2B0B
    @someone-T4I2B0B Рік тому +3

    5:03 that looks like the world

  • @andrewscott7728
    @andrewscott7728 5 років тому +71

    There is a third advantage computers have over humans. Replication. They only need to learn something once and then you can copy them forever.

  • @devvrath123
    @devvrath123 5 років тому +176

    They should make genres called "Computer Jazz" and "Computer Baroque"

    • @IsomerSoma
      @IsomerSoma 5 років тому +7

      How about "artificial baroque"

    • @ryanxin1848
      @ryanxin1848 5 років тому +6

      And "computer rap"

    • @--TOM--
      @--TOM-- 4 роки тому +1

      Who is they

    • @tbg8365
      @tbg8365 4 роки тому

      @@IsomerSoma AB

    • @gauripanse7516
      @gauripanse7516 2 роки тому

      Or "fail music theory music"

  • @almondpotato9483
    @almondpotato9483 5 років тому +7

    Train it with all the classical music composers you can think of. And with every instrument you can think of, if you figure that out.

    • @guest8571
      @guest8571 5 років тому +4

      "with every instrument you can think of"
      tchaikovsky: do cannons count?

    • @almondpotato9483
      @almondpotato9483 5 років тому

      @@guest8571 Why not?!

    • @guest8571
      @guest8571 5 років тому +1

      @@almondpotato9483 tchaikovsky: then i'm going to use 16 of them

  • @vinayaksharma8387
    @vinayaksharma8387 5 років тому

    I swear people like you have entered into a whole new dimension of existence

  • @SirCommoner
    @SirCommoner 7 років тому +5

    8:42 Holy shit, those 4 notes were the BACH motif. Taken from Wikipedia if you don't know: "In music, the BACH motif is the motif, a succession of notes important or characteristic to a piece, B flat, A, C, B natural. In German musical nomenclature, in which the note B natural is written as H and the B flat as B, it forms Johann Sebastian Bach's family name."

  • @Descanlin
    @Descanlin 6 років тому +35

    For the 360 minute training, it was a little surreal. I kept hearing little snippets that sounded good (or at least, decent) and half-expect them to go somewhere nice, and they just... Peter out. It's like listening to the mental track of someone with ADD or some similar disorder, it just keeps jumping around and trailing off with half-cooked ideas.

    • @Descanlin
      @Descanlin 6 років тому +3

      This effect was even more pronounced for the day-long Mozart-Bach pieces. Definitely felt almost great at times, and then the machine falls off a cliff and stares at it's, I dunno, what's a computers navel? It just kind of rambles and then picks up on something interesting before slumping again.

  • @bobrobertsNotUrBob
    @bobrobertsNotUrBob 5 років тому +1

    I loved certain parts or pieces of parts, I liked that after however many hours it gets to patterns that would look like a human is using 2 hands to play it. I'd love to see this as a plugin for Ableton as a side note. I 'd also like to feed it midi from Nirvana and see what it can come up with, patterns are less random/complex but it would have to understand drums, bass, vocal melody, and main guitar, 4 separate instruments. great video.

  • @mitchelly5324
    @mitchelly5324 5 років тому

    Honestly, this is a good tool for a composer to get inspiration for new pieces. If they hear a certain snippet they enjoy, they extrapolate and create real music!

  • @Bonzane
    @Bonzane 7 років тому +198

    Siri, write me a Bach piece!
    -ok, I am practicing my piano skills now.

    • @PeterNjeim
      @PeterNjeim 7 років тому +3

      Siri is the worst virtual assistant in mass produced devices know to man that is a default virtual assistant. Google Assistant, then Microsoft Cortana, and finally Amazon Alexa are all better. And Samsung Bixby is probably better too but the English version isn't out yet.

    • @user-ft4pb5vb3e
      @user-ft4pb5vb3e 7 років тому +1

      Peter Njeim You've got quite the something to say for a person who misspelled _known_ as "know", didn't use a comma before a coordinating conjunction, and edited your comment so that you could leave those two mistakes there.

    • @user-ft4pb5vb3e
      @user-ft4pb5vb3e 7 років тому +2

      Peter Njeim You know what? I come back to this comment I made and realize this: the spelling, grammar, etc mistakes don't matter. What actually matters to me is that you didn't back up your argument with any claims or facts _at all_, and, as a matter of fact, although I respect others' opinions, they typically don't back up their claims, either. That's this huge problem I see: they say that something is just their "opinion", but, in reality, they have no reason to believe what they do, at least no reason stated within their comment. I also wanted to make you aware that typos and misspellings are the same, except typos apply only to, as the name would suggest, typing. (This isn't part of the argument, but I wanted to point it out in the same way that people point out spinach in others' mouths, and "Grammar Nazis" point out grammar mistakes in others' writing, just because I'm particularly annoyed by you.)

    • @jamespedrick4566
      @jamespedrick4566 6 років тому +3

      I tried it and Siri said 'Writing your note...
      New Note:
      A Bach piece'

    • @user-ft4pb5vb3e
      @user-ft4pb5vb3e 6 років тому

      Can't Siri use previous training?

  • @RealistikDash
    @RealistikDash 7 років тому +170

    the computer is just trying dubstep. Leave it alone!

    • @MacXpert74
      @MacXpert74 7 років тому +8

      Give it a electric guitar sound and it DJENTS!

    • @Karxy
      @Karxy 7 років тому

      RealistikDash D U B S T E P

    • @zioxei
      @zioxei 7 років тому

      RealistikDash I like some dubstep but that was a good one

  • @Astrovic1
    @Astrovic1 Рік тому

    this video made me laugh soo many times hahaha great job man! :D

  • @carrotylemons1190
    @carrotylemons1190 5 років тому +2

    This needs to be on Spotify, please actually add it