xylucien / MusicalKits_Converter

My personal Flask project
1 stars 0 forks source link
music

MusicalKits_Converter

This project aims to provide a web service to convert between different music sheet formats. It also supports generating visaulized score and sound file. The app is hosted on Amazon Web Service Elastic Beanstalk.

Converter Core Credit: Music21, Musescore3

Musicxml to ABC Script Credit: https://wim.vree.org/svgParse/xml2abc.html

Install

To install, do the following:

# clone the repository
$ git clone https://github.com/lucien386/MusicalKits_Converter.git
$ cd MusicalKits_Converter

# install dependencies
$ pip3 install -r requirements.txt

# run the setup script
$ cd scripts
$ sh setup.sh

Run

Linux:

$ export FLASK_APP=converter
$ flask run

Windows:

> set FLASK_APP=converter
> flask run

Open http://127.0.0.1:5000 in a browser.

Test

$ pip3 install pytest
$ python3 -m pytest