Working 1.0
This commit is contained in:
parent
cc44b1b527
commit
6be3351346
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
### Copyright 2024 Thomas Herrmann
|
||||||
|
### Released under GPL v3
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import mido
|
import mido
|
||||||
|
|
26
readme.md
Normal file
26
readme.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# AutoSyncHost
|
||||||
|
## Description
|
||||||
|
### An automatic midi host application that send midi sync commands to other MIDI devices connected via USB.
|
||||||
|
|
||||||
|
This python scrtipt is intended to run headless on a raspbery pi but can run on any other python able device as well.
|
||||||
|
|
||||||
|
The output is filtered so the host deosnt receive sync signals from the members and thus not causing midi loops.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user