Seth-Rothschild / player_pyano

A webapp to select and send MIDI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This is a Flask app which allows a user to play a midi file. This is meant for use with a Yamaha Disklavier where the idea is that it can run on a Raspberry Pi and be controlled on the local network.

An example screenshot of the application showing play, pause, and song filtering

Installation and Development

First, install miniforge after which you can create a conda environment and install the Python dependencies with

make install

Building and developing the frontend depends on node. We would recommend using nvm to manage your node and npm versions. Once you have that,cd frontend and run npm install. You can then run make build which will build the frontend and copy the files into the flask app.

You can then run the app with make start and view your app at localhost:5000.

If you're actively developing the frontend we recommend make start-frontend, which will serve the frontend and the backend at the devault Svelte port localhost:5173. This will also watch for changes to the frontend and rebuild it automatically.

About

A webapp to select and send MIDI

License:GNU Affero General Public License v3.0


Languages

Language:Python 58.6%Language:Svelte 36.0%Language:JavaScript 2.7%Language:HTML 1.7%Language:Makefile 1.1%