Giter Site home page Giter Site logo

simpletsmusicgenerator's Introduction

SimpleTSMusicGenerator

Tensorflow-Powered Midi Song Generator from traning songs. But output is not even a song yet :(

In this repo you will find 3 folders , one for rock music , one for jazz music and one is a blank template that you can use to train with any music you like , but it won't sound anywhere near what you think.

Warning : DO NOT open the sample output files if you cannot withstand a VERY BAD music.

Requirements

python3 , numpy , tensorflow , mido , midiutil , h5py and maybe some other library I might forgot , sorry for that.

Also , all input,output is based on midi , so your traning data must coms from midi song.

How to

1.Edit model.py and insert your traning midi files into the list(feel free to add other settings , I'm just a beginner in Tensorflow so currently it is quite a bad setting). Then just run it. This will generate and train the model.

2.If it's successful , then there should appear 3 .h5 files. you can proceed

3.Modify the gensong.py (Currently it does generate many songs in a row , you can make it into only 1 song). And run it , outputs will be in output/ folder

4.Prepare your ears and go listen.

Congratulations

If you made it thorough the testing output phase , congrats , It's very bad I know. But this project is my breakthrough into machine-learning field. So forgive me if you're looking for something more serious.

Thanks,

PoomrokC

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.