| Hi Art,
I was going to say one could use the Csound API directly using
csoundObj.getCsound() to perhaps pause the app, but I realized that
wouldn't stop the render loop in CsoundObj. I guess it's best to wait
for Victor's changes (Victor, I can apply the changes to iOS once
you're complete there).
Thanks!
steven
On Tue, Oct 2, 2012 at 11:18 AM, Victor Lazzarini
wrote:
> We had not implemented a pause control in CsoundObj. I've added it and will test to see if it does what it is supposed to do.
>
> Victor
> On 2 Oct 2012, at 02:40, Art Hunkins wrote:
>
>> Steven,
>>
>> Thanks for this info; my son came up with a sixth button as a result.
>>
>> And yes, we did implement -b512, which seems to take care of most of the glitching.
>>
>> One other questions:
>> How would you implement Pause (as an alternative to Stop) in Android Csound? Stop reverts to .csd defaults, whereas we'd like to continue with then-current settings. Is this what Pause allows?
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "Steven Yi"
>> To:
>> Sent: Monday, September 24, 2012 12:20 PM
>> Subject: Re: [Csnd] Re: ChimePad - now a Csound Android app
>>
>>
>>> Hi Art,
>>>
>>> If you're using the CSDPlayer as a base for the app, there's these lines:
>>>
>>> for(int i = 0; i < 5; i++){
>>> channelName = "slider" + (i+1);
>>>
>>> csound.addSlider(sliders.get(i),channelName, 0., 1.);
>>> channelName = "butt" + (i+1);
>>>
>>> csound.addButton(buttons.get(i),channelName, 1);
>>> }
>>>
>>> Essentially, the main call is:
>>>
>>> csound.addButton(buttons.get(i),channelName, 1);
>>>
>>> where you could change that to:
>>>
>>> csound.addButton(referenceToButton,"button6", 1);
>>>
>>> BTW: Did you try -b512?
>>>
>>> All best,
>>> steven
>>>
>>>
>>> On Mon, Sep 24, 2012 at 6:15 PM, Art Hunkins wrote:
>>>> My son Dave is now trying to do the Android portion of a simplified version
>>>> of ChimePad (a "ChimePadSimple").
>>>>
>>>> One option we are considering involves implementing *6* buttons. He is
>>>> wondering how to implement the 6th. His query follows. Can anyone help with
>>>> this? (I've been unable to find any examples with more than five buttons,
>>>> and suspect the Csound Android GUI implementation may be limited to five.)
>>>>
>>>> He writes:
>>>>
>>>> "Also not sure how to address six buttons when there are only five buttons
>>>> in the interface. As far as you know, what is the 'connection point' between
>>>> the button and the Csound object (I assume I need to create a sixth button
>>>> in the same manner as the others and name it "button6" or something)?"
>>>>
>>>>
>>>> Art Hunkins
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
|