|
Could someone with an Android device, and
Csound6(.05) and TouchOSC apps installed, please try the attached two files
for me? I can't get them to produce any sound, as I think they
should.
What to do:
1) Be sure to have an active internet connection (or one
simply to a wireless router, no actual internet connection
required)
2) Copy both attached files (Test.csd and Test.touchosc) to
your device.
2) Open Csound6 with Test.csd
3) Open TouchOSC with the Test.touchosc Layout (in
Settings)
4) In TouchOSC, set the OSC Host address to
127.0.0.1, and be sure the outgoing Port is 8000 (also in Settings)
5) Start Csound6
6) Move the slider on the TouchOSC Test Layout.
The slider should control the amp of a 440Hz triangle wave.
Please report whether it works or not - and if not, why you think it
doesn't. Or for that matter, if it *does* work, why it might not be working
for me (for example, my 4.2.2 OS?)
(I'm fast going as bonkers as Rory.)
Thanks so much.
Art Hunkins
----- Original Message -----
Sent: Wednesday, May 13, 2015 8:28
AM
Subject: Re: [Csnd] Android and
OSClisten
Your Csound code looks fine. Have you tried running it on a different
machine? I.e., run Csound on a PC or Mac connected to the same network as your
tablet and see if your code works correctly with TouchOSC. I use TouchOSC all
the time with Csound, and I use the TouchOSC editor to define the layouts, so
I don't think that's your problem.
Sent via the Samsung Galaxy
Alpha™, an AT&T 4G LTE smartphone
-------- Original
message -------- From: Art Hunkins <abhunkin@uncg.edu> Date:
05/12/2015 9:38 PM (GMT-06:00) To: Justin Smith
<noisesmith@gmail.com>, csound users' discussions
<csound-users@lists.sourceforge.net> Subject: Re: [Csnd] Android and
OSClisten
Unfortunately, it doesn't. No difference from what
reported.
One confusing thing about the TouchOSC Editor, is that
whatever you do, the editor automatically adds "/" to all widget names -
e.g., "fader1" becomes "/fader1". And if you set the Page to anything,
such as "1", fader1 becomes "/1/fader1". No way of getting rid of the
slash that I see (the same with Auto mode).
Of course, I'm using
the Windows TouchOSC Editor. Is the action perhaps different for the Mac?
(I understand there is no Linux editor.)
I note that all the default
Layouts (in the Windows editor) use Auto mode for both Pages and widgets.
As Page 1 is always named "1" (which causes it to be sent as "/1"), fader1
will be sent as "/1/fader1". So I assume this is what happens even if you
are not using a TouchOSC Editor. Or am I wrong?
Art
Hunkins
----- Original Message ----- From: "Justin Smith"
<noisesmith@gmail.com> To: "Art Hunkins" <abhunkin@uncg.edu>;
"csound users' discussions"
<csound-users@lists.sourceforge.net> Sent: Tuesday, May 12, 2015
8:45 PM Subject: Re: [Csnd] Android and OSClisten
> if the
slider is set to send "fader1", this should be working as
written > > On 5/12/15, Art Hunkins <abhunkin@uncg.edu>
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: >>
---------------------------------- >>
<CsoundSynthesizer> >>
<CsOptions> >> >> -odac -d >> >>
</CsOptions> >> <CsInstruments> >> >>
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 >> >> </CsInstruments> >>
<CsScore> >> >> i1 0 3600 >> >>
</CsScore> >> </CsoundSynthesizer> >>
--------------------- >> 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
|