I made a neural network that autocompletes music !!

Discussion in 'Mixing and Mastering' started by SceleJohn, Jun 24, 2019.

  1. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    After MONTHS of training non stop this neural network that started as a university project can now autocomplete midi files.

    I programmed it to train in a very specific way: basically I made a program that would slice midi files to pieces(ex.2 Bars) and then feed it to the neural net work and the network had to predict the next section, not note by note but as a whole batch. It was trained for more than 8 months non stop with a big collection of midi files ranging from classical to pop. This is the result:

    I wrote this little melody form 00:00 to 00:09 and everything after that was created by the network.
    https://drive.google.com/open?id=1NFZ8u7C_3alPuYgLFZeib0yZMcEgBWtX

    It's not a master piece, but it's something.

    PS. I know this doesn't belong here, but i didn't know where else to post it.
     
    • Interesting Interesting x 12
    • Love it! Love it! x 6
    • Like Like x 3
    • Creative Creative x 1
    • List
  2.  
  3. No Avenger

    No Avenger Moderator Staff Member

    Joined:
    Jul 19, 2017
    Messages:
    8,911
    Likes Received:
    6,109
    Location:
    Europe
    As you said, not a masterpiece but surprisingly good.
     
    • Agree Agree x 3
    • Like Like x 1
    • List
  4. grdh20

    grdh20 Platinum Record

    Joined:
    Jan 14, 2014
    Messages:
    656
    Likes Received:
    225
    very nice work. Not so much as a verse chorus bridge verse machine, but a nice idea randomizer that potentially has a ton of possibilities.
     
    • Like Like x 2
    • Agree Agree x 2
    • List
  5. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    It can't understand what key it's in, most of the time that's why it plays wrong notes
     
    • Interesting Interesting x 1
    • List
  6. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    If you guys send me some midis(not more the 20 seconds long) I could run it through it to see what it comes up with. Because sometimes it makes some really great stuff
     


  7. I had a flashback listening to that.
     
    • Like Like x 3
    • Love it! Love it! x 2
    • Agree Agree x 1
    • List
  8. Baxter

    Baxter Audiosexual

    Joined:
    Jul 20, 2011
    Messages:
    3,828
    Likes Received:
    2,657
    Location:
    Sweden
    If you can get it to learn keys and modes (modal/church scales) and when to modulate, it could become really interesting. This is the future and a lot of work is put into AI composition, as they say will be "personalized" for the individual in the future. We'll see if that will happen, or "real" musicianship will still be favored and valued.
     
    • Like Like x 2
    • Agree Agree x 1
    • List
  9. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    Thanks. I'm trying to improve it. My goal is to get to the level where you can give it an idea and it transforms it to a section of a song (ex. verse,chorus,intro,etc) selected by the user.
     
    • Interesting Interesting x 3
    • List
  10. indianwebking

    indianwebking Platinum Record

    Joined:
    Jun 3, 2018
    Messages:
    380
    Likes Received:
    174
    sir mind if i want to send you some midi? so that it can make some music for me? and how did you made the neural network man? like for real? i want to know everything if it's possible. like if i can access it in anyway or not. but he he pretty lazy stuff u fed it
     
  11. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    This is actually kinda scary when you think about it. I mean.. I am a programmer and I only do music as a hobby, but the idea that so many good musicians may just become "obsolete" is terrifying.
     
  12. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    It's not ready to be released yet, but if you want to send some midi I would be happy to run it through the proggram
     
  13. RMorgan

    RMorgan Audiosexual

    Joined:
    May 17, 2014
    Messages:
    632
    Likes Received:
    508
    I love it man, seriously.

    Like somebody said, that key change, although not creatively incorrect, could be avoided if you "teach" it how to detect the right key before improvising over it.

    Anyway, I think the result is really nice. Why don't you post some more examples, better yet, post some using famous songs!

    Well done!

    R.
     
  14. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    I don't know how to teach it what key it's in. If i feed it scales then it's just gonna make scales when you give it an idea and ask it to improvise
     
  15. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
  16. No Avenger

    No Avenger Moderator Staff Member

    Joined:
    Jul 19, 2017
    Messages:
    8,911
    Likes Received:
    6,109
    Location:
    Europe
    Close to really good, imho.
     
  17. Olymoon

    Olymoon MODERATOR Staff Member

    Joined:
    Jan 31, 2012
    Messages:
    5,813
    Likes Received:
    4,459
    Not sure either... So we'll let it here.
     
  18. SceleJohn

    SceleJohn Producer

    Joined:
    Jun 18, 2019
    Messages:
    192
    Likes Received:
    83
    Thanks
     
  19. Futurewine

    Futurewine Audiosexual

    Joined:
    Oct 4, 2017
    Messages:
    888
    Likes Received:
    558
    Location:
    Sound City Labs
    "Things will happened if you make it happen."

    I hope my little motivation quote will made me part of this great project/invention if you would bring it along the way :hillbilly:

    I'm heavily midi manipulation tools/utilities user btw. Thank you for your work/creation :shalom:
     
  20. mrpsanter

    mrpsanter Audiosexual

    Joined:
    Mar 28, 2014
    Messages:
    1,777
    Likes Received:
    892
    At first, I thought that you posted this in the Humor section for some reasons but after listening to your demo, I realized this was not a joke.

    As you said, this is not perfect, at least not yet but it gives a taste of what will be possible in a few years or even less. It's a bit similar to the 1st chess programs that were unable to beat a human chess master 40 years ago. We all know that this is no longer the case.

    Very interesting and somewhat scary (reminds me of Terminator 2 when the machines learned how to think autonomously).
     
  21. farao

    farao Rock Star

    Joined:
    Nov 9, 2014
    Messages:
    766
    Likes Received:
    397
    It is actually musical. Mindblowing stuff right here... This could and should be going places, PM if you want to collaborate to make this into a huge money making machine. I have got close connections to big investors here in Sweden.
     
Loading...
Loading...