| John -
If you are still concerned about HTML5 GUIs in Android Csound, here is
further information.
As a result of your inquiries in this thread, I have made some major changes
(hopefully enhancements) to my tutorial on the subject -
http://arthunkins.com/Android_Csound_Apps.htm
First entry - tutorial on HTML5 GUIs for Android Csound.
I think you'll find several of the issues you brought up dealt with in the
tutorial. You seemed concerned particularly about the button code, which
only furnished a trigger, rather than a "touch down/touch up" action which
could be used for "notes" and other gate-like requirements.
We've added three new examples to the tutorial dealing with such "enhanced
buttons." (The simpler trigger version continues to be available.) I've
several basic observations about this alternative button code:
1) It requires a somewhat different HTML/Javascript approach.
2) It requires considerably more javascript.
3) Despite #2, buttons surprisingly exhibit considerably *less* latency than
the simple trigger.
4) This "enhanced button" code also works for simple triggers.
5) Latency (both for sliders and button touches) is largely due to the power
of the Android device (or OS?) itself, however. For example, our Google
Nexus 6 smartphone running OS 5.0.1 does significantly better in this
respect that our older Samsung Galaxy S III phone running OS 4.3.
BTW, this tutorial will appear in the upcoming Csound Journal.
Art Hunkins
----- Original Message -----
From: "jpff"
To:
Sent: Saturday, March 12, 2016 4:34 PM
Subject: Re: [Csnd] Question on Android csound
> It gets odder! On the tablet it usualy works now (one button does not
> work like it did) but on the phone I have a blank screen. Well for the
> use I just need the tablet so it is only the button to fx.
>
> On te base system if I hold te button I get contiuous 1 values, but Art's
> example reverts to 0 quickly. I guess I ca fix tat.
> ==John
>
> On Sat, 12 Mar 2016, jpff wrote:
>
>> I changed the settings and was rewarded with a blank screen and no
>> controls.
>>
>> Mike's examples seem to have a CsHtml section inside sound, while your
>> notes
>> has a bald outside. Note sure which is right now
>>
>> On Sat, 12 Mar 2016, Art Hunkins wrote:
>>
>>> John -
>>>
>>> Dave is correct, and no doubt with his advice, you've already got your
>>> solution.
>>>
>>> The varying display options in the Settings menu is new for the
>>> CS6.06/07
>>> Android Csound6.apk. The earlier versions of Csound6.apk did not include
>>> these
>>> options, and adapted to HTML5 automatically. If you have Android OS <
>>> 5.0,
>>> you
>>> need one of these earlier versions of Android Csound.
>>>
>>> However, since you have Android OS 5.0+, keep on using the version you
>>> have;
>>> it is better. Just be sure you set the display for HTML5. Once set, it
>>> persists.
>>>
>>> Art Hunkins
>>> ----- Original Message -----
>>> From: Dave Seidel
>>> To: CSOUND@LISTSERV.HEANET.IE
>>> Sent: Saturday, March 12, 2016 10:26 AM
>>> Subject: Re: [Csnd] Question on Android csound
>>>
>>> John, I think you need to also change the view setting for the app (in
>>> the Settings menu, as I recall, don't have my tablet in front on me).
>>> The default view uses widgets, the HTML5 view is a different rendering.
>>>
>>> On Sat, Mar 12, 2016 at 10:20 AM, jpff wrote:
>>> Art, your words look hopeful but so far including your
>>> example 1 at the end of my csd fie had no effect; I still
>>> have te trackpad and the standard names. The tagged
>>> stuff is after the
>>> Is that right?
>>>
>>> I am on Android 5 with cs6.06/7 in case that matters
>>>
>>> On Fri, 11 Mar 2016, Art Hunkins wrote:
>>>
>>> http://arthunkins.com/Android_Csound_Apps.htm
>>> First entry - tutorial on HTML5 GUIs for Android
>>> Csound.
>>>
>>> Art Hunkins
>>>
>>>
>>> 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
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 |