a common protocol for the shelf components n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
A common protocol for the shelf components PowerPoint Presentation
Download Presentation
A common protocol for the shelf components

Loading in 2 Seconds...

play fullscreen
1 / 9

A common protocol for the shelf components - PowerPoint PPT Presentation


  • 96 Views
  • Uploaded on

A common protocol for the shelf components. Johannes Wagner ( UoA ) Adapted by Alessandro Rossi (ENG). Advantages. Easy to integrate new components Components can be exchanged Feedback if component is working Output can be logged for analyses Components are compatible to each other.

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 'A common protocol for the shelf components' - palmer-maxwell


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
a common protocol for the shelf components

A common protocol for the shelf components

Johannes Wagner (UoA)

Adapted by Alessandro Rossi (ENG)

advantages
Advantages
  • Easy to integrate new components
  • Components can be exchanged
  • Feedback if component is working
  • Output can be logged for analyses
  • Components are compatible to each other

Comp A

App.

Comp B

open sound control osc
Open Sound Control (OSC)
  • Transport-independent and message-based light ware protocol to share data between multimedia devices
  • Similar to MIDI but more powerful
  • Free implementations available for all kind of systems and languages
  • Website: http://opensoundcontrol.org/
osc messages
OSC Messages
  • Starts with an OSC Address Pattern followed by an OSC Type Tag Stringand a corresponding number of OSC Arguments
  • Int32: 32-bit big-endian two's complement integer
  • Float32: 32-bit big-endian IEEE 754 floating point number
  • OSC-string: A sequence of non-null ASCII characters followed by a null
  • OSC-blob An int32 size count, followed by that many 8-bit bytes of arbitrary binary data
proposed protocol
Proposed Protocol
  • Based on UDP and OSC
  • Three type of messages:/strm continuously data stream/evnt event-related data including tags/text text based control messages
  • Each message has sender id and timestamp in order to synchronize messages
  • Semantic Items are wrapped as /evnt messages to interact with the Framework
stream example
Stream Example
  • Sending head position as pair of float32-values sampled at 10 fps, e.g. 0.5s of data (= 5 frames): X 20 20 14 11 10 Y 10 10 11 9 9
  • Message:/strm “head_track” 2.0 10.0 2 <data>
  • Where <data> has 2x4x5 bytes: {40, [20 10 20 10 14 11 11 9 10 9]}
  • Receiver has to know data type (here: int)!
event example
Event Example
  • Sending speech event in interval [3.0 5.5]s
  • Message:/evnt “speech” 3.0 2.5 0
  • Sending detected key words and detected emotion in same interval
  • Message:/evnt “key_words” 3.0 2.5 3 “I” 0.7 “feel” 0.4 “good” 0.9/evnt “emo_voice” 3.0 2.5 1 “happy”, 1.0