https://github.com/scgolang/oscsync
OSC Sync Protocol
https://github.com/scgolang/oscsync
music open-sound-control osc osc-sync-protocol protocol slave synchronization tempo
Last synced: 5 months ago
JSON representation
OSC Sync Protocol
- Host: GitHub
- URL: https://github.com/scgolang/oscsync
- Owner: scgolang
- License: mit
- Created: 2017-01-27T14:23:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T15:14:52.000Z (about 9 years ago)
- Last Synced: 2024-06-20T03:38:23.532Z (almost 2 years ago)
- Topics: music, open-sound-control, osc, osc-sync-protocol, protocol, slave, synchronization, tempo
- Language: Go
- Size: 6.3 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oscsync
Synchronize programs over OSC.
* [Install](#install)
* [Getting Started](#getting-started)
* [API](#api)
## Install
```
go get github.com/scgolang/oscsync
```
## Getting Started
Run the master:
```
oscsync serve
```
Connect a slave that just prints the pulses coming from the master:
```
oscsync pulses
```
## API
### Pulse
`/sync/pulse f:tempo i:position`
A pulse tells clients what position the master is at.
The position is interpreted as 24ppqn at the given tempo.
### Add Slave
`/sync/slave/add s:host i:port`
Add a slave who is listening at the given host:port.
### Remove Slave
`/sync/slave/remove s:host i:port`
Remove the slave who is listening at the given host:port.