5

I'm writing an android application using the SDK for android 4.0

I wonder if there is an API for sending OSC messages (Open Sound Control) in the android SDK or should I just use the java OSC SDK.

I tried browsing the http://opensoundcontrol.org/introduction-osc and under implementations I found the following: http://www.illposed.com/software/javaosc.html

so I just wonder if I should use JavaOSC, some other library or if maybe android comes with it's own API for sending OSC messages.

any information regarding the issue would be greatly appreciated.

thank you

kfir

Christophe Roussy
  • 16,299
  • 4
  • 85
  • 85
ufk
  • 30,912
  • 70
  • 235
  • 386

3 Answers3

7

No, there is no API within Android itself to broadcast OSC messages. And yes it seems that currently the only way is JavaOSC.

Here is an app, FingerPlay MIDI, which uses OSC message in order to communicate over WIFI. Check its source code at http://code.google.com/p/fingerplaymidi/source/browse/ and find out how to use JavaOSC in your code.

j0k
  • 22,600
  • 28
  • 79
  • 90
FatDog47
  • 462
  • 4
  • 15
3

Here is library I wrote specifically with Android in mind.

https://github.com/alistairrutherford/osc-tools

I have a sample application which uses this here.

https://github.com/alistairrutherford/tonome

alrutherford
  • 432
  • 5
  • 8
1

My solution was used Processing IDE in Android Mode with the library OscP5.

Mario Alzate
  • 372
  • 3
  • 8