sendosc is a simple command-line tool for sending OSC packet.
sendosc
usage : sendosc dst_host dst_port path [[type] [param]] ...
type
i : int
f : float
b : boolean (true/false)
s : string
example
./sendosc 127.0.0.1 5678 /test1 i 123
./sendosc 127.0.0.1 5678 /test2 f 123.45
./sendosc 127.0.0.1 5678 /test3 s teststring
./sendosc 127.0.0.1 5678 /test4 b true
./sendosc 127.0.0.1 5678 /test5 s teststring i 123 f 123.4 b false
Install via Homebrew
$ brew install yoggy/tap/sendosc
$ sudo apt-get install liboscpack-dev
$ cd ~
$ git clone https://github.com/yoggy/sendosc.git
$ cd sendosc
$ cmake .
$ make
$ sudo make install
$ cd ~
$ git clone https://github.com/arturoc/oscpack
$ cd oscpack
$ nano Makefile
change this line
COPTS = -Wall -O3
for this one
COPTS = -Wall -O3 -fPIC
$ make
$ sudo make install
$ cd ~
$ git clone https://github.com/yoggy/sendosc.git
$ cd sendosc
$ sudo pacman -S cmake
$ cmake .
$ make
$ sudo cp ./sendosc /usr/local/bin/sendosc
pre-built binary for windows
> git clone https://github.com/yoggy/sendosc.git
> cd sendosc
> mkdir build
> cd build
> cmake ..
> MSBuild.exe sendosc.vcxproj /t:clean;rebuild /p:Configuration=Release;Platform="win32"
> cd Release
> dir sendosc.exe
Volume in drive C is XXXXXXXX
Volume Serial Number is XXXX-XXXX
Directory of C:\work\sendosc\build\Release
2019/01/16 20:38 18,432 sendosc.exe
1 File(s) 18,432 bytes
Copyright (c) 2015 yoggy
Released under the MIT license