Can you select midi CC for variable via ipad template?

Discuss Lemur and share techniques.
Post Reply
whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12
Can you select midi CC for variable via ipad template?

Post by whatisvalis » 04 Mar 2012 21:12

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

bxsj
Regular
Posts:117
Joined:24 Dec 2011 06:47
Location:Vienna

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

Post by bxsj » 05 Mar 2012 07:12

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.
Attachments
CC Selector.jzml
(4.41KiB)Downloaded 94 times
Win7 64, Ipad Lemur, Cubase6 and a bunch of Roland Synths and Samplers

whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12

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

Post by whatisvalis » 05 Mar 2012 14:36

Thanks, will have a play with that later

-JD

mat
Regular
Posts:127
Joined:08 Dec 2011 09:21
Location:Germany
Contact:

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

Post by mat » 05 Mar 2012 21:39

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
Lemur modules and sequencer: http://music-interface.com
Setup: Win7professional 32bit, Intel Core 2 Duo @ 2,66 GHz.,Tascam US-144MKII, Ableton Live 8.4,
Arturia Analog Lab., Max/Msp, Maxforlive, Lemur Legacy + Ipad, Akai MPK61, Doepfer Pocket Control

whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12

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

Post by whatisvalis » 05 Mar 2012 23:24

Thanks Mat, I will take a look at those.

Bxsj, that module from Control worked a treat

whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12

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

Post by whatisvalis » 06 Mar 2012 20:07

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

whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12

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

Post by whatisvalis » 07 Mar 2012 03:11

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?

Macciza
Regular
Posts:1325
Joined:07 Dec 2011 04:57
Location:Sydney, Australia.

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

Post by Macciza » 07 Mar 2012 04:38

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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]

whatisvalis
Regular
Posts:153
Joined:31 Dec 2011 17:12

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

Post by whatisvalis » 07 Mar 2012 13:51

Thanks Macciza

Post Reply