An OSC (Open Sound Control) broadcast server that can be started from the command line. It is a Rust implementation of oscP5broadcaster. oscP5broadcaster is a sample application of oscP5.
brew tap enkatsu/osc_broadcaster
brew install osc_broadcaster
git clone https://github.com/enkatsu/osc_broadcaster.git
cd osc_broadcaster
cargo install
USAGE:
osc_broadcaster [OPTIONS]
OPTIONS:
-f, --file <FILE>
Reads the initial state of connected clients from a file (JSON, YAML, TOML, CSV)
-h, --help
Print help information
-i, --listen-ip-address <LISTEN_IP_ADDRESS>
Specify the listen IP address of the broadcast server [default: 0.0.0.0]
-l, --listen-port <LISTEN_PORT>
Specify the listen port of the broadcast server [default: 32000]
-s, --send-port <SEND_PORT>
Specify the send port of the broadcast server [default: 12000]
-V, --version
Print version information
You can register as a target client from the distribution by sending an OSC message to osc_broadcast with the address pattern /server/connect
from your client application.
When the destination clients are registered with osc_broadcast, sending an OSC message to osc_broadcast will distribute the message to all destination clients.
You can exclude a target client from the distribution by sending an OSC message to "osc_broadcast" with the address pattern /server/disconnect
from your client application.