sending OSC (open sound control) messages from an android application

6.8k views Asked by At

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

3

There are 3 answers

1
FatDog47 On BEST ANSWER

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.

0
alrutherford On

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

0
Mario Alzate On

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