Open Sound Control

From EyesWeb wiki

(Redirected from OSC)

OSC or Open Sound Control is an open, message-based protocol which was originally developed for communication between computers and sythesizers. Open Sound Control is much more flexible and faster than MIDI.

Each OSC Message consists of an address pattern, a type tag and the arguments.

Contents

Address Pattern

the adress pattern is a string beginning with a slash ( / ) it is used to differ between various OSC messages.

  • example: "/rect"

Argument

an argument is the actual content of an OSC message. It can be an integer, float or string. An OSC message can hold multiple arguments.

Type Tag

the type tag is a string containing information about the arguments of the message: for example when a osc message contains two integer and a string, the type tag would be "iis"



Blocks for OSC communication:


Flosc-Server

or how to communicate to other programs via OSC


  • First go to the Webpage of Ben Chun and download Flosc: http://www.benchun.net/flosc/
  • Go to Java.com and update your Java enviroment.
  • Unzip and copy all files to a folder at C: root and call it flosc
  • Make a new textfile and insert


--codestart--

cd C:\flosc

ipconfig

java -classpath . Gateway 9999 3000

--codeend--


  • Rename this textfile to myFloscServer.bat
  • Start the batch
  • If you have an error like: noclassdeffounderror than your folder is not named correct. Should be c:\flosc
  • Start the example Flashfile flosc-0.3.1.swf
  • You will get a warning and asked to open the properties. Open this.
  • A Macromedia webpage will open and gives you the properties. Go to global security.
  • Click edit and concate flosc to it. See image.

Image:Clipboard02.jpg


A good documentation of flosc is also at: http://transmote.com/flosc/

External links

OpenSound Control Home Page

eyesweb

Warning: main() [function.main]: open_basedir restriction in effect. File(/mnt/100/free.fr/8/1/eyw/plus/stats/php-stats.redir.php) is not within the allowed path(s): (/mnt/130/sdb/8/1/eyw) in /mnt/130/sdb/8/1/eyw/wiki/index.php on line 285

Warning: main(/mnt/100/free.fr/8/1/eyw/plus/stats/php-stats.redir.php) [function.main]: failed to open stream: Operation not permitted in /mnt/130/sdb/8/1/eyw/wiki/index.php on line 285

Warning: main() [function.include]: Failed opening '/mnt/100/free.fr/8/1/eyw/plus/stats/php-stats.redir.php' for inclusion (include_path='/mnt/130/sdb/8/1/eyw/include:.:/usr/php4/lib/php') in /mnt/130/sdb/8/1/eyw/wiki/index.php on line 285