Csound Csound-dev Csound-tekno Search About

Re: Question on Android csound

Date2016-03-12 01:51
FromArt Hunkins
SubjectRe: Question on Android csound
http://arthunkins.com/Android_Csound_Apps.htm
First entry - tutorial on HTML5 GUIs for Android Csound.

Art Hunkins

----- Original Message ----- 
From: "Tarmo Johannes" 
To: 
Sent: Friday, March 11, 2016 5:37 PM
Subject: Re: [Csnd] Question on Android csound


> Hi John,
>
> have you considered using a Cabbage solution? Cabbage for Android is in 
> early
> phase but works well. Creating widgets in Cabbage does not need much
> expertise, but frankly, John, I am dead certain that with your experience 
> in
> programming, you would grasp sufficient info how to manipulate necessary 
> html5
> elements in an hour or less.
>
> If it is of any help, I attach a very simple csd that used two html5 
> buttons
> that trigger one csound instrument that sends OSC messages. Using Csound
> channels is almost as easy, I don't have an example now but I am sure 
> someone
> can provide one.
>
> What concerns audio input, unfortunately I have no deeper experience with
> android. Once I used microphone input for kind of tuning app within a 
> native
> android app using Csound API, then there was no problem. For any case I 
> attach
> that csd as well.
>
> The header looked
>
> 
> -odac -iadc -d  -b1024  -B 2048
> 
> 
>
> sr = 44100 ;
> nchnls = 2
> 0dbfs = 1
> ksmps = 128
>
> And for sound input I used just
>
> ain inch 1
>
> But that was done with an ealier version of Csound, I don't know it there 
> is
> diference
>
>
> Best!
>
> tarmo
>
>
>
> On Friday 11 March 2016 21:16:06 you wrote:
>> I looked at the examples but they made zero sense.  Seemed to require
>> knowledge I just do not have, like javascript and bits of html not 
>> related
>> to layout.  Shame there is not a simple way to change labels, but I can
>> possibly accept that.  I do not think I could learn javascript in less
>> than a week.
>>
>> The substantial problem is that reading from the microphone does not work
>> on android but does not linux.  I have replaced the input by a simple
>> oscilator and that sort of works now, so it relates to the micrphone
>> somehow.
>> ==John
>>
>> 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

Date2016-03-12 15:20
Fromjpff
SubjectRe: Question on Android csound
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

Date2016-03-12 15:26
FromRory Walsh
SubjectRe: Question on Android csound
Can you send us a barebones .csd file so we can try it out ourselves on our own phones? We can at least confirm then whether there is an issue with your device or not.

On 12 March 2016 at 15:20, jpff <jpff@codemist.co.uk> 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 <html> tagged stuff is after the </CsoundSynthesizer>
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

Date2016-03-12 15:26
FromDave Seidel
SubjectRe: 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 <jpff@codemist.co.uk> 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 <html> tagged stuff is after the </CsoundSynthesizer>
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