Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuc/Midi-Connector
aconnect wrapper & web ui, to be used on a Raspberry Pi
https://github.com/nuc/Midi-Connector
aconnect midi raspberry-pi
Last synced: 3 months ago
JSON representation
aconnect wrapper & web ui, to be used on a Raspberry Pi
- Host: GitHub
- URL: https://github.com/nuc/Midi-Connector
- Owner: nuc
- License: mit
- Archived: true
- Created: 2017-12-22T12:36:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-29T20:00:30.000Z (about 4 years ago)
- Last Synced: 2024-04-20T19:39:08.334Z (7 months ago)
- Topics: aconnect, midi, raspberry-pi
- Language: JavaScript
- Homepage: http://raspberrypi.local:3000/
- Size: 544 KB
- Stars: 31
- Watchers: 6
- Forks: 6
- Open Issues: 6
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-javascript-audio - Midi-Connector - for connecting your MIDI device to `aconnect` (one of the ALSA tools) (Libraries: Web MIDI API / Web MIDI API)
README
# Midi Connector
![image](https://user-images.githubusercontent.com/697014/37869427-b15ffd98-2fb7-11e8-9a70-1f79a0e49b65.png)
Using your Raspberry Pi as a MIDI USB Host [is really straightforward](https://stimresp.wordpress.com/2016/02/08/using-a-raspberry-pi-as-usb-midi-host/).
But for configuring it you need either keyboard & monitor connected to the Pi, or SSH access.
This web app provides a GUI which can be used with a screen like the [Hyperpixel](https://shop.pimoroni.com/products/hyperpixel) and have your MIDI USB Host fully portable.
It includes a server part which acts as a wrapper of `aconnect` and a web app for the UI.
## Installation (on the Pi)
- `npm install`
- `npm start`
- Open: http://raspberrypi.local:3000/app### Starting the server on boot
For starting the app on boot:
- `sudo npm install -g forever`
- `sudo crontab -e` and add the following line at the end of the file:
```
@reboot /usr/bin/forever start -c /usr/bin/node /home/pi/Code/midi-connector.js/server/server.js
```
Replace `/home/pi/Code/midi-connector.js/` with the path of the repo.Restart the Pi. The app should be accessible right away under http://raspberrypi.local:3000/app or under your device's IP address.
### Opening the web app on boot (kiosk mode)
Edit: `~/.config/lxsession/LXDE-pi/autostart` and add:
```
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@/usr/bin/chromium-browser --kiosk --disable-restore-session-state http://localhost:3000/app
```