Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

📒 Proyecto Final: Automatic music to MIDI converter as-a-service.

Notifications You must be signed in to change notification settings

afska/lab-scoremonkey-server

Repository files navigation

 ____                     __  __             _              
/ ___|  ___ ___  _ __ ___|  \/  | ___  _ __ | | _____ _   _ 
\___ \ / __/ _ \| '__/ _ \ |\/| |/ _ \| '_ \| |/ / _ \ | | |
 ___) | (_| (_) | | |  __/ |  | | (_) | | | |   <  __/ |_| |
|____/ \___\___/|_|  \___|_|  |_|\___/|_| |_|_|\_\___|\__, |
                                                      |___/ 

Automatic music to MIDI converter

Trello: https://trello.com/b/4ZpCOXng/losborbotones-proyectofinal

Slack: https://losborbotones.slack.com

server

Build Status

install:

# install nodejs
# install npm (node package manager)
# install mongodb-server
# install mplayer

npm install -g grunt-cli
npm install
installing aubio dependency:

Aubio is the main dependency of the project and is the library that provides the frequency analysis of a wave. Place the script aubio_install.sh in your home directory and execute it.

run server:

grunt server
# or simply:
grunt
# (as "server" is the default task)

run tests:

grunt test

REPL shell:

node
require("./globals.js")
#your debugging code:
Monkey = include("domain/monkey")
# ...

record & play:

#requires arecord/sox & timidity
#gtick is recomended as metronome
./tester.sh

deploy:

https://toolbelt.heroku.com/

remote shell:

heroku run /bin/bash --app scoremonkey

remote logs:

heroku logs --tail --app scoremonkey

add git remote and deploy
heroku git:remote --app scoremonkey
git push heroku master
custom buildpack:

https://github.com/a2ikm/heroku-buildpack-mplayer