Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

bearstech/osc-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSC Tools

Open Sound Control is a simple network protocol used for connecting musical instruments and multimedia stuffs. This protocol can be used from tiny things like Arduino to fancy interface like iPad.

Python provides a simple library, pyOSC, but no debug tools.

Install

virtualenv .
source bin/activate
python setup.py build
python setup.py install

Client

Message are sent via UDP, no error is return if you talk to the wrong server.

osc_client -h
  • --host The target host.
  • --port The target port.
  • --target The target path. The url like stuffs.
  • --message The message. It should be JSON encoded.

Server

This server is simple, it just print received messages.

osc_server_dump
  • --host The target host.
  • --port The target port.
  • --target The target path. The url like stuffs.

Example

In a first terminal

osc_server_dump -t /1/toto

In a second terminal

osc_client -t /1/toto -m 42

Licence

GPLv3.

About

Tool to debug OSC discussion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published