Csound Csound-dev Csound-tekno Search About

Android and OSClisten

Date2015-05-13 00:44
From"Art Hunkins"
SubjectAndroid and OSClisten
In Mike's latest Csound6 for Android (6.05), I've been having a difficult 
time getting OSClisten to receive OSC messages sent from a TouchOSC Layout, 
all on my Android device (Samsung Galaxy Tab 2, Android OS 4.2.2).

Here's my simple test.csd:
----------------------------------



-odac -d




sr      = 44100
ksmps = 100
nchnls  =       2

gichan  OSCinit 8000

 instr 1

gkamp   init     0
kans    OSClisten gichan, "/1/fader1", "f", gkamp
aout    lfo      gkamp * 12000, 440, 1
        outs     aout, aout

        endin




i1 0 3600



---------------------
The TouchOSC Host is set to 127.0.0.1
Its outgoing port to 8000
Its slider is identified as /1/fader1
Slider range: 0 - 1

Even with a -v flag set in CsOptions, the .csd runs with no errors, Only 
WARNING: OSC listener #0 started at port 8000. Stops normally. There is no 
output amplitude.
The only negative hint is a single console message: handle=0 - which to me 
indicates that no OSC message has been received.

I've the definite impression that the OSClisten destination address 
"/1/fader1" is wrong (or its corresponding identification in TouchOSC, or 
maybe both).

Can anyone shed any light?

Art Hunkins 


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-05-13 01:45
FromJustin Smith
SubjectRe: Android and OSClisten
if the slider is set to send "fader1",  this should be working as written

On 5/12/15, Art Hunkins  wrote:
> In Mike's latest Csound6 for Android (6.05), I've been having a difficult
> time getting OSClisten to receive OSC messages sent from a TouchOSC Layout,
>
> all on my Android device (Samsung Galaxy Tab 2, Android OS 4.2.2).
>
> Here's my simple test.csd:
> ----------------------------------
> 
> 
>
> -odac -d
>
> 
> 
>
> sr      = 44100
> ksmps = 100
> nchnls  =       2
>
> gichan  OSCinit 8000
>
>  instr 1
>
> gkamp   init     0
> kans    OSClisten gichan, "/1/fader1", "f", gkamp
> aout    lfo      gkamp * 12000, 440, 1
>         outs     aout, aout
>
>         endin
>
> 
> 
>
> i1 0 3600
>
> 
> 
> ---------------------
> The TouchOSC Host is set to 127.0.0.1
> Its outgoing port to 8000
> Its slider is identified as /1/fader1
> Slider range: 0 - 1
>
> Even with a -v flag set in CsOptions, the .csd runs with no errors, Only
> WARNING: OSC listener #0 started at port 8000. Stops normally. There is no
> output amplitude.
> The only negative hint is a single console message: handle=0 - which to me
> indicates that no OSC message has been received.
>
> I've the definite impression that the OSClisten destination address
> "/1/fader1" is wrong (or its corresponding identification in TouchOSC, or
> maybe both).
>
> Can anyone shed any light?
>
> Art Hunkins
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here