简体   繁体   中英

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

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

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.

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

我的解决方案是在 Android 模式下使用带有库 OscP5 的 Processing IDE。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM