Giter Site home page Giter Site logo

jaedukseo / accompaniment-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alekseykorshuk/accompaniment-generator

0.0 1.0 0.0 30 KB

Generate accompaniment part with chords using Evolutionary algorithm.

Home Page: https://huggingface.co/spaces/AlekseyKorshuk/accompaniment-generator

License: Apache License 2.0

Python 100.00%

accompaniment-generator's Introduction

Accompaniment generator

Generate accompaniment part with chords using Evolutionary algorithm.

Demo

Use with Spaces

Live web app for easiest inference available here: link

Open in Streamlit

Installation

Directly with pip:

pip install git+https://github.com/AlekseyKorshuk/accompaniment-generator

Or by cloning this repository:

git clone https://github.com/AlekseyKorshuk/accompaniment-generator
%cd accompaniment-generator
pip install .

How to use

from accompaniment_generator.generator.base import Generator

generator = Generator()
output_midi_data = generator("input.mid", num_epoch=10)
output_midi_data[0].write("output.mid")

Limitations

There are some basic limitations:

  • My knowledge of Music Theory
    • It is really hard to understand it in such short period of time from very zero, therefore some results are not archivable by human reasons.
  • Computationally-intensive
    • Because of the many possible options of chord for each place.
  • Near-optimal solution
    • Due to algorithm definition a near-optimal solution can be found with it.
  • Mutation
    • Sometimes it is not possible to get the best result because of random mutation.
  • Evaluation
    • Evaluation function require an excellent knowledge of the task that this algorithm is going to solve, therefore some results are not archivable by human reasons.

accompaniment-generator's People

Contributors

alekseykorshuk avatar

Watchers

 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.