Page 1 of 1

Can you select midi CC for variable via ipad template?

Posted: 04 Mar 2012 21:12
by whatisvalis
I'm looking at adding an option (drop down menu perhaps) to my template so the user can choose a CC number for x/y of multiball via ipad.

Maybe I'm missing a glaring example (Kontrol Lab 2 method is a little complex for me). Can anyone point me towards a template that does this?

Cheers,

JD

Re: Can you select midi CC for variable via ipad template?

Posted: 05 Mar 2012 07:12
by bxsj
Attached is an example extracted from the Controlab template. The value on the left side defines a "base" value via a menu. The CC value can be decremented or incremented by clicking on the triangles left and right of the value display.
Hope that help,
B.

Re: Can you select midi CC for variable via ipad template?

Posted: 05 Mar 2012 14:36
by whatisvalis
Thanks, will have a play with that later

-JD

Re: Can you select midi CC for variable via ipad template?

Posted: 05 Mar 2012 21:39
by mat
Hey,
if you are looking for a Multiball sending CCs with controlable Midichannel and Controllernumber,
maybe try the "4balls" module: http://liine.net/en/community/user-library/view/5/
thread here: http://liine.net/forum/viewtopic.php?f=26&t=1126

In that last version I use pads to step Channel and Controller (before I had a dropdownmenu).
But "Modumat16step" (http://liine.net/en/community/user-library/view/59/) has a dropdownmenu...maybe you can have a look and do some copy/paste.
In common it works with "CustomMidi", not with variables (which can also send Midi...).
You can fill in a value for Channel and/or Controller. For dropdown it will be "LemurMenu.selection+1" (it starts with 0)...

Hope that helps and happy patching :D

mat

Re: Can you select midi CC for variable via ipad template?

Posted: 05 Mar 2012 23:24
by whatisvalis
Thanks Mat, I will take a look at those.

Bxsj, that module from Control worked a treat

Re: Can you select midi CC for variable via ipad template?

Posted: 06 Mar 2012 20:07
by whatisvalis
Hi Mat,

I was looking over the 4balls module, very cool!

I want to incorporate mute buttons for x and y on the multiball. Is there a simple way of doing this? I've been trying to create a custom expression based on your mute implementation, but the additional Range bar is confusing me.

Any help is appreciated,

Cheers,

JD

Re: Can you select midi CC for variable via ipad template?

Posted: 07 Mar 2012 03:11
by whatisvalis
Feel like I've managed to get the mute function working via dissecting the 4balls module a little more.

I have a multiball object (just working on y at moment) with a custom CC midi script, value set to bally, which is a custom expression = Multiball.y[0]*127*mute.x[0]

This outputs midi fine on y axis when the switch is on via the CC message that i've specified.

Does look ok? Any way to invert the switch so when it's on it mutes the y variable?

Re: Can you select midi CC for variable via ipad template?

Posted: 07 Mar 2012 04:38
by Macciza
Hi
One option would be change mute.x[0] to abs(mute.x[0]-1)
abs returns the 'absolute' or unsigned value 0-1 = 1, 1-1=0, values inverted . .
Cheers
MM

Re: Can you select midi CC for variable via ipad template?

Posted: 07 Mar 2012 13:51
by whatisvalis
Thanks Macciza