Menu

OSC_3rd_Party

Shane Saxon

[Home] - [Developer_Guide] - [Network_API] - [OSC_API] - [OSC_Schema] - [OSC_3rd_Party] hosted at openANTz.com

also see: [OSC_Spec] - [JSON_OSC_Bridge] - [MySQL_API] - [File_Types]

updated 2012-02-12

OSC docs and code are currently in progress, this is a DRAFT!!!


OSC 3rd Party - Support

  • Lemur - high-end... lots of experience... pre-ipad $2k HW, MIDI and OSC
  • Mrmr - free and R&D educational based.... lots of features
  • OSCemote - similar to touchOSC
  • touchOSC - considered reliable and is kept very simple (good)
  • GrandVJ - (OSC Server) accepts normalized values 0-1.0 and a single (float) argument message

ISSUES

  • OSC address formats very

  • most common is a single float with normalized range of 0.0 - 1.0

  • also common is an array of floats

osc: /Drumpads/x 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0

  • sometimes an array precedes with a string descriptor and parameter count

osc: /tuio/2Dcur set 5 0.915625 0.610706 -0.0102614 0.001 0.0336951

  • OSCemote missed (at least one) UDP packet -> pd-extended and accel +/- 3.0 range

  • Mrmr has an alternate address format that substitutes ' ' spaces for slashes

osc: /mrmr/slider/vertical/...
osc: /mrmr slider veritcal ...

  • GrandVJ excepts both Mrmr address formats, in general works with a single float 0-1

  • Lemur piano 'Keyboard' crashes pd-extended, says type tag is invalid

the piano 'Keyboard' crashes pd-extended...
...and GrandVJ does not respond but did learn the address:
/MasterKeyboard/white/vel ??? probably an array of floats

pd once generated the err (during crash) stated '...said the type tag is valid, but its not...'
then on restart has trouble connecting:
dumpOSC 8000
... couldn't create


OSCemote

Multi-Touch responds to 5 fingers (iOS)

example shows lifting fingers OFF...
first two floats i think are position... the other 3 accelleration?

osc: /tuio/2Dcur source OSCemote@26ce69277cf11a4abc634593d6f70316357122a4
osc: /tuio/2Dcur set 2 0.68125 0.386861 0 0 0
osc: /tuio/2Dcur set 5 0.915625 0.610706 -0.0102614 0 0.0336951
osc: /tuio/2Dcur set 10 0.21875 0.861314 0 0 0
osc: /tuio/2Dcur set 16 0.38125 0.347932 0 0 0
osc: /tuio/2Dcur alive 2 5 10 16
osc: /tuio/2Dcur fseq 1296
osc: /tuio/2Dcur source OSCemote@26ce69277cf11a4abc634593d6f70316357122a4
osc: /tuio/2Dcur set 2 0.68125 0.386861 0 0 0
osc: /tuio/2Dcur set 5 0.90625 0.610706 -0.608337 0 39.4745
osc: /tuio/2Dcur set 10 0.21875 0.861314 0 0 0
osc: /tuio/2Dcur alive 2 5 10
osc: /tuio/2Dcur fseq 1298
osc: /tuio/2Dcur source OSCemote@26ce69277cf11a4abc634593d6f70316357122a4
osc: /tuio/2Dcur set 5 0.90625 0.610706 0 0 0
osc: /tuio/2Dcur alive 5
osc: /tuio/2Dcur fseq 1299
osc: /tuio/2Dcur source OSCemote@26ce69277cf11a4abc634593d6f70316357122a4
osc: /tuio/2Dcur alive
osc: /tuio/2Dcur fseq 1300

osc: /slider/6 0.523346
osc: /slider/6 0.523346
osc: /segmented/0 A
osc: /segmented/0 B
osc: /segmented/0 C
osc: /segmented/0 D
osc: /segmented/0 E
osc: /switch/3 0
osc: /switch/3 0
osc: /switch/3 1

osc: /hello OSCemote@26ce69277cf11a4abc634593d6f70316357122a4
osc: /button/C2 1
osc: /button/C2 0
osc: /button/A1 1

*range is approx +/- 3
osc: /accelerometer 1
osc: /acceleration/xyz -1.45184 -0.725082 0.157639
osc: /acceleration/xyz -1.26257 -0.630569 -0.320877
osc: /accelerometer 0


Mrmr - 'Tutorial' template

osc: /mrmr/pushbutton/21/z-zs-iPhone 1
osc: /mrmr/pushbutton/21/z-zs-iPhone 0

osc: /mrmr/slider/horizontal/9/z-zs-iPhone 0.271

alternate address format...???
preference: 'Bundle Message Style' = ON
osc: /mrmr slider horizontal 9 z-zs-iPhone 0.271

note that address length is the same without additional '/' slashes
except for the root slash... GrandVJ excepts both formats


Mrmr - 'Performance' template

osc: /mrmr/tactile3D/34/z-zs-iPhone 0.611 0.437 0.436
osc: /mrmr/tactile3D/34/z-zs-iPhone 0.611 0.436 0.436
osc: /mrmr/tactilezoneTouchDown/34/z-zs-iPhone 0
osc: /mrmr/tactilezoneTouchDown/34/z-zs-iPhone 1

osc: /mrmr/tactilezoneX/9/z-zs-iPhone 0.56875
osc: /mrmr/tactilezoneY/9/z-zs-iPhone 0.20625

*unlike OSCemote(+/- 3)... accelerometer range is normalized at +/- 1.0
osc: /mrmr/accelerometer/10/z-zs-iPhone 0.48 0.473 -0.016
osc: /mrmr/accelerometer/10/z-zs-iPhone 0.481 0.473 -0.016


touchOSC - 'basic' template

osc: /1/fader4 0.118143
osc: /1/fader4 0.120253
osc: /1/fader4 0.122363

osc: /1/toggle2 1
osc: /1/toggle2 0

osc: /2/push16 1
osc: /2/push16 0

  • track_XY -
    osc: /3/xy 0.462547 0.505618
    osc: /3/xy 0.475655 0.518727

  • 8X8 -
    osc: /4/multitoggle/1/8 1
    osc: /4/multitoggle/5/5 1


Lemur - 'iPhone - Studio Combo' project

osc: /Multiball1/x 0.295012
osc: /Multiball1/y 0.535861
osc: /Multiball2/x 0.465434
osc: /Multiball2/y 0.548842
osc: /Multiball3/x 0.117905
osc: /Multiball3/y 0.475954
osc: /Multiball4/x 0.535106
osc: /Multiball4/y 0.821045

osc: /Fader5/x 0.549502
osc: /Fader5/x 0.549505
osc: /4/multitoggle/7/3 1
osc: /4/multitoggle/8/8 1

osc: /MultiPhysics/x 0
osc: /MultiPhysics/x 1
osc: /Sliders_Friction/x 0.992966
osc: /MultiSlider/x 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365
osc: /Sliders_Friction/x 0.992963
osc: /MultiSlider/x 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365 0.201365
osc: /Sliders_Friction/x 0.992962
osc: /Sliders_Friction/x 0.99296
osc: /Sliders_Friction/x 0.992958
osc: /Sliders_Friction/z 0

osc: /DrumpadsOffset/z 1 - press down on the slider
osc: /DrumpadsOffset/x 0.8
osc: /DrumpadsOffset/x 0.7
osc: /DrumpadsOffset/x 0.6
osc: /DrumpadsOffset/x 0.5
osc: /DrumpadsOffset/x 0.4
osc: /DrumpadsOffset/x 0.3
osc: /DrumpadsOffset/x 0.2
osc: /DrumpadsOffset/x 0.1
osc: /DrumpadsOffset/x 0
osc: /DrumpadsOffset/z 0 - release slider
osc: /Drumpads/x 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 - hit pads (4x4)
osc: /Drumpads/x 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0
osc: /Drumpads/x 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0
osc: /Drumpads/x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


Related

Wiki: Developer_Guide
Wiki: File_Types
Wiki: Home
Wiki: JSON_OSC_Bridge
Wiki: MySQL_API
Wiki: Network_API
Wiki: OSC_3rd_Party
Wiki: OSC_API
Wiki: OSC_Schema
Wiki: OSC_Spec