I made a neural network that autocompletes music !!

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

  1. SceleJohn

    SceleJohn Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    2,401
    Likes Received:
    1,709
    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:
    420
    Likes Received:
    155
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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. Fudsey Plange

    Fudsey Plange Audiosexual

    Joined:
    Nov 8, 2011
    Messages:
    1,257
    Likes Received:
    954
    Location:
    Fuqnose


    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:
    2,668
    Likes Received:
    1,531
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Member

    Joined:
    Jun 3, 2018
    Messages:
    23
    Likes Received:
    7
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Rock Star

    Joined:
    May 17, 2014
    Messages:
    485
    Likes Received:
    345
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    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 Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
  16. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    2,401
    Likes Received:
    1,709
    Location:
    Europe
    Close to really good, imho.
     
  17. Olymoon

    Olymoon Impossible is not a fact. It is an opinion. Staff Member

    Joined:
    Jan 31, 2012
    Messages:
    2,071
    Likes Received:
    1,142
    Not sure either... So we'll let it here.
     
  18. SceleJohn

    SceleJohn Ultrasonic

    Joined:
    Jun 18, 2019
    Messages:
    110
    Likes Received:
    38
    Thanks
     
  19. Futurewine

    Futurewine Rock Star

    Joined:
    Oct 4, 2017
    Messages:
    527
    Likes Received:
    369
    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,307
    Likes Received:
    555
    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:
    632
    Likes Received:
    346
    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...
Similar Threads - made neural network Forum Date
The Google made me do it humor Jul 8, 2019
Need documentation on how digital synths are made Education Jun 27, 2019
Anybody use spectrum analyzer or made a DIY one at all? Studio May 14, 2019
How the Terminator 2 Music was Made Film / Video Game Scoring Feb 21, 2019
how is the bass made ...the one straight from begining /intro Education Jan 27, 2019
Loading...