Skip to content
forked from yoggy/sendosc

sendosc is a simple command-line tool for sending OSC packet.

License

Notifications You must be signed in to change notification settings

depinxi/sendosc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendosc

sendosc is a simple command-line tool for sending OSC packet.

usage

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

How to install

macOS

Install via Homebrew

$ brew install yoggy/tap/sendosc

debian & ubuntu

$ sudo apt-get install liboscpack-dev
$ cd ~
$ git clone https://github.com/yoggy/sendosc.git
$ cd sendosc
$ cmake .
$ make
$ sudo make install  

Archlinux

get dependencies and prepare folder
$ cd ~
$ git clone https://github.com/arturoc/oscpack
$ cd oscpack 
enable -fpic flag for shared library linking
$ nano Makefile 

change this line

COPTS = -Wall -O3

for this one

COPTS = -Wall -O3 -fPIC
compile and install
$ make
$ sudo make install

clone, compile and install sendosc

$ cd ~
$ git clone https://github.com/yoggy/sendosc.git
$ cd sendosc
$ sudo pacman -S cmake
$ cmake .
$ make
$ sudo cp ./sendosc /usr/local/bin/sendosc

Windows (experimental)

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 and license

Copyright (c) 2015 yoggy

Released under the MIT license

About

sendosc is a simple command-line tool for sending OSC packet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 84.7%
  • C++ 7.9%
  • Lua 4.2%
  • CMake 3.2%