-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Generate lyrics based on previous songs for one artist or for multiple artists. Also recording the user`s video performance of the new song with an audio by his choice and generating a video, which he can download and later share!
Here you can find details about current state of the project, what we achieved and what's next.
Files under the web/
path does not require a specific server setup.
You could use them with apache/nginx default configuration.
For development you can start a basic python web server using python -m SimpleHTTPServer 1337
inside the web/
folder and view the files on http://localhost:1337
The audio API is a django backend. For development you can start it with python manage.py runserver
.
-
Create and activate a virtualenv
cd ~
virtualenv audio-api-env
~/audio-api-env/Scripts/activate
cd {PATH_TO_PROJECT}/audio-api
-
Install binary requirements
-
Install
espeak
(http://espeak.sourceforge.net/commands.html) -
Install
pydub
binary dependencies (https://github.com/jiaaro/pydub#dependencies) (Make sure you're using the latest versions, you will need the VP8 codec for dealing with .webm video sent from Chrome)
-
-
Install requirements
pip install requirements.txt
-
Run development server
python manage.py runserver
The lyrics generator API is a flask backend.
-
Create a virtualenv
cd ~
virtualenv generator-api-env
~/generator-api-env/Scripts/activate
cd {PATH_TO_PROJECT}/generator-api
-
Install requirements.
Note: For windows you might want to install a C++ compiler http://aka.ms/vcpython27 and LXML downloading the proper wheel file from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml and
pip install {FILE}
pip install -r requirements.txt
-
Run development server
export FLASK_APP=server.py
flask run
For Audio API check notes in: https://github.com/dev-labs-bg/rap-generator/pull/1
For Generator API check notes in: https://github.com/dev-labs-bg/rap-generator/pull/2
We accept all kind of contributions that you guys make and we'll love you for them! <3
If you find any problems, have any suggestions or want to discuss something you can either open an issue here or make a pull request with code changes instead.
If you want to contribute, but you're not sure where to start you can always take a look at the issues here we have open and pick up with some of them.
Try to follow our conventions for naming issues, branches, and existing code structure.