Coder Social home page Coder Social logo

ai-beat-maker's Introduction

AI-Beat-Maker

Description:
Creating music has become easier with remix generators and separate drum line creators, but there is still no solution for automatically creating the desired combination. We use a combination of machine learning and DSP methods in order to automatically generate a remix out of a given sample, and sync the result with a generated drumbeat created by using a trained neural network. Thus, we have created a beat-making program to give our users the ability to create a brand-new Hip Hop beat in the simplest touch of a button, without the need for advanced and complicated music studio applications.

Running Instructions

  1. Clone this repo
  2. Activate virtual environment
  3. Install requirements
pip install -r requirements.txt
  1. Add the sample you wish to remix into the 'samples' directory
  2. Run main.py
    Parameters required:
    --track -> samples title with no extension (must be a wav file)
    Optional parameters:
    --drums -> True if you wish to generate drums for the remix else False (default=True)
    --bass -> True if you wish to generate bass for the remix else False (default=False)
    --k -> Number of clusters you wish to split your sample (default=2)

For example:

python main.py --track=track_name --drums=True -- bass=False --k=4

If you would like to retrain the LSTM Drum-Generator, run:

python drums_generator/lstm.py

You can then find the new model weights in the 'drums_generator/weights' directory.
All that's left is to update the predict.py file to load your new weights.

ai-beat-maker's People

Contributors

guyyariv avatar talherman1 avatar

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.