Csound Csound-dev Csound-tekno Search About

Re: OSC on Android?

Date2016-01-27 20:13
FromArt Hunkins
SubjectRe: OSC on Android?
Yes. I discussed Android Csound controlled by TouchOSC GUIs (via OSC) all on 
the same device in last Fall's Csound Journal:
http://csoundjournal.com/issue21/alternative_csound_players.html

The subject is discussed at the very end of the article. The interfacing is 
really quite simple. And yes, you do need the correct IP address! 
(127.0.0.1) (The only other real trick is to get incoming/outgoing ports to 
match up in TouchOSC and your .csd.)

Art Hunkins

----- Original Message ----- 
From: "Steven Yi" 
To: 
Sent: Wednesday, January 27, 2016 11:35 AM
Subject: Re: [Csnd] OSC on Android?


>I think there were reports of using Csound and TouchOSC (I think?) on
> the same device via OSC.  Maybe it's a network issue? (or a network
> permissions issue on your app?) The Csound app has the INTERNET
> permission in its manifest:
>
> https://github.com/csound/csound/blob/develop/android/CsoundForAndroid/CsoundApplication/src/main/AndroidManifest.xml#L10
>
>
>
> On Tue, Jan 26, 2016 at 2:53 PM, Rory Walsh  wrote:
>> In the end I had to simply pass the opcode lib in the CsOptions. Now my
>> Android app recognizes the OSC opcodes, but I get nothing no message from 
>> my
>> receiver. Has actually tested this stuff on Android?
>>
>> On 26 January 2016 at 16:15, Rory Walsh  wrote:
>>>
>>> Nice detective work there Steven!
>>>
>>> On 26 January 2016 at 15:55, Steven Yi  wrote:
>>>>
>>>> Michael may be better able to assist, but this code from the Csound
>>>> Android application can be used for reference:
>>>>
>>>>
>>>> https://github.com/csound/csound/blob/develop/android/CsoundForAndroid/CsoundApplication/src/main/java/com/csounds/Csound6/CsoundAppActivity.java#L595-L616
>>>>
>>>>
>>>>
>>>> On Tue, Jan 26, 2016 at 10:36 AM, Rory Walsh  wrote:
>>>> > I'm trying to get OSC working on Android but Csound will not load it.
>>>> > This
>>>> > is actually the first plugin opcode I've tried using on Android, do I
>>>> > have
>>>> > to set the opcodedir variable? Right now the lib is there beside all 
>>>> > my
>>>> > other .so files.
>>>> > Csound mailing list Csound@listserv.heanet.ie
>>>> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>>> > https://github.com/csound/csound/issues Discussions of bugs and
>>>> > features can
>>>> > be posted here
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>         https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>
>> Csound mailing list Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and features 
>> can
>> be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here