osc protocol quick introduction matthias kranz matthias at hcilab dot org n.
Download
Skip this Video
Download Presentation
OSC Protocol - Quick Introduction Matthias Kranz matthias<at>hcilab<dot>org

Loading in 2 Seconds...

play fullscreen
1 / 8

OSC Protocol - Quick Introduction Matthias Kranz matthias<at>hcilab<dot>org - PowerPoint PPT Presentation


  • 136 Views
  • Uploaded on

EI Toolkit. OSC Protocol - Quick Introduction Matthias Kranz matthias<at>hcilab<dot>org. 15.08.2005. Research Group Embedded Interaction www.hcilab.org. Open Sound Control (OSC).

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'OSC Protocol - Quick Introduction Matthias Kranz matthias<at>hcilab<dot>org' - channing-vega


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
osc protocol quick introduction matthias kranz matthias at hcilab dot org

EI Toolkit

OSC Protocol - Quick Introduction

Matthias Kranz

matthias<at>hcilab<dot>org

15.08.2005

Research Group

Embedded Interaction

www.hcilab.org

open sound control osc
Open Sound Control (OSC)
  • “OpenSound Control (OSC) is an open, transport-independent, message-based protocol developed for communication among computers, sound synthesizers, and other multimedia devices.”

(from OSC specification, http://www.cnmat.berkeley.edu/OpenSoundControl/ )

open sound control osc features
Open Sound Control (OSC) Features
  • Open-ended, dynamic,plain-text, URL-style symbolic naming scheme
  • Numeric and symbolic arguments to messages
  • Pattern matching language (regular expressions) to specify multiple targets of a single message
  • High resolution time tags (via synchronized time)
  • ‘Bundles’ of messages whose effects must occur simultaneously
  • Query system to dynamically find out the capabilities of an OSC server and get documentation
osc atomic data types
OSC Atomic Data Types
  • int32 (big endian)
  • float32 (big endian)
  • OSC blob
  • OSC string
  • OSC timetag (big endian)
osc messages
OSC Messages

OSC Message

OSC Address

OSC Type Tag

OSC Arguments

OSC String, address parts separated by ‘/’, starting with ‘/’

OSC String, one character for each data type that is in the argument part of the message, starting with ‘,’

0 to n arguments, in their binary representation, length with respect to its type

e.g.

/muc/particles/

2.229.0.0.0.182.249/

setText/

binary form of

“hello world”3 (big endian for float32, int32 and timetag)

,si

(will send “hello world” to the named particle and display the text in row 3)

osc bundles
OSC Bundles

OSC Bundle

OSC String

OSC TimeTag

OSC Bundle Elem.

#bundle

64 bit

Size

Contents

int32

OSC Message

OSC Bundle

hierarchical address space
Hierarchical Address Space

/

lancs/

muc/

locationX/

pinandplay/

smart-its/

particles/

technology1/

technologyN/

ip-address:port/

method1

methodN

osc example message
OSC Example Message

/muc/particle/2.229.0.0.0.182.249/setText,

si,/location/id_of_sender\00b010101010101010

(hierarchical address as OSC String, null terminated, number of bits is multiple of 32, filled with \0, then the OSC data types in the message, also as null-terminated OSC String, number of bits is multiple of 32, followed by the data in binary form, big endian encoding for int32, float32 and timetag)

The first string in the message (required!) is the ID (as string) of the sender. (EIToolkit specific extension).