2024-06-26 15:02:12 +02:00
|
|
|
|
# AutoSyncHost
|
|
|
|
|
## Description
|
2024-06-26 15:05:42 +02:00
|
|
|
|
### An automatic midi host application that sends midi sync commands to other MIDI devices connected via USB.
|
2024-06-26 15:02:12 +02:00
|
|
|
|
|
2024-06-26 15:05:42 +02:00
|
|
|
|
This python script is intended to run headless on a raspberry pi but can run on any other python able device as well.
|
2024-06-26 15:02:12 +02:00
|
|
|
|
|
2024-06-26 15:05:42 +02:00
|
|
|
|
The output is filtered so the host doesn´t receive sync signals from the members and thus not causing midi loops.
|
2024-06-26 15:02:12 +02:00
|
|
|
|
|
2024-06-26 15:05:42 +02:00
|
|
|
|
*Notes,CCs and other messages are not handled currently.*
|
|
|
|
|
|
|
|
|
|
## Installation
|
2024-06-26 15:02:12 +02:00
|
|
|
|
- pull from repository with `git clone https://git.raise-uav.com/Hermes/AutoSyncHost.git`
|
|
|
|
|
- `pip install mido`
|
|
|
|
|
- `pip install python-rtmidi`
|
|
|
|
|
- `python ashost.py` in folder
|
|
|
|
|
- App is running and waiting for a device playing
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
- First MIDI device that sends a midi "start" command becomes the host everybody listens to.
|
|
|
|
|
- After hitting stop, ASH has an assigned host and all devices are in sync when pressing play again.
|
|
|
|
|
- Pressing "stop" three times will unbind the host from its duties and restart the app and assignment.
|
|
|
|
|
|
|
|
|
|
### Notes
|
|
|
|
|
It is especially interesting for devices that don´t have a physical MIDI port like the OP-Z or OP-1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|