Coder Social home page Coder Social logo

marysalvana / musical_python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samsamhuns/musical_python

0.0 1.0 0.0 16.52 MB

Creating artificial music though LSTM Recurrent Neural Networks

License: Apache License 2.0

Makefile 1.80% C 87.54% M4 0.10% Roff 4.66% WebAssembly 0.40% Python 1.60% CSS 1.20% HTML 2.71%

musical_python's Introduction

musical_python

Updates Python 3

Creating music though LSTM Recurrent Neural Networks.

Installation and setup

$ python -m pip install --upgrade pip
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements

Starting Django Server

  • The abc2midi executable must be compiled on your host OS. Change to the top directory (musical_python/) and run (cd abcmidi && make && mv ./abc2midi ../ && cd ..) for abc2midi compilation.
$ python manage.py migrate
$ python manage.py runserver

The application can now be accessed through the localhost.

Important Note: To make sure the midi files are playable, the http://www.midijs.net/lib/midi.js file must be allowed to run on the browser.

Optional

Midi web scraping information: Pop music midi files are available in the data folder but to download midi files from other genres, use python scrap_midi/ ./scrap_freemidi_org.py <genre> <Headless State 1/0>

Note: Only for Chrome users:

For web scraping midi files with selenium, download ChromeDriver for the appropriate Chrome version here https://sites.google.com/a/chromium.org/chromedriver/downloads and save it to the scrap_midi folder.

The author not be responsible for any issues with Copyright Infrigements that might come with downloading of midi files.

Acknowledgements and References

musical_python's People

Contributors

dependabot[bot] avatar imgbotapp avatar pyup-bot avatar samsamhuns 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.