| 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"
>
|