SCRIPTING PROBLEM, please help!!

Discuss Lemur and share techniques.
pieeer
Newbie
Posts:19
Joined:02 Jun 2014 07:39
SCRIPTING PROBLEM, please help!!

Post by pieeer » 03 Jun 2014 07:57

I have a 4x4 pad (A) and a 1x4 pad (B)

the 4x4 pad can send out notes or cc
the 1x4 pad is supposed to send out cc (let's say normally on cc 1-4 ch1)

what i want to achieve is

by pressing a pad on A to change the controller numbers outputted by B

example.
you press first pad on A then B outputs controllers 1 2 3 4
you press second pad on A then B outputs controllers 5 6 7 8

it would be helpy to have the chance to retrieve the pad number triggered in a pad object to get the trick done,
just wondering, thou..please help...!
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 08:32

here's one way to do it! A custom midi output is used in the 1x4 pads - do NOT use x

;)
Attachments
Pads-control-PadsCC.jzml
(6.44KiB)Downloaded 134 times

pieeer
Newbie
Posts:19
Joined:02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer » 03 Jun 2014 09:13

thanks!

looks like is perfect for changing the labels, but seems not working on the cc output side,
everytime i press a pad from the 4x4 controllers sent from the 1x4 are 0 to 0.

The script should do the same job with the output controllers numbers, so a part of it should be in the 1x4 object...
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 09:27

Hmmm weird it should work although Im notg at my "music" PC and cannot test it....

Try this one, let me know if it works - again "out" is the midi enabled output, not x
Attachments
Pads-control-PadsCC-new.jzml
(6.95KiB)Downloaded 118 times

pieeer
Newbie
Posts:19
Joined:02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer » 03 Jun 2014 09:42

tried really fast and seems not.. but i'll test it later... must run to work now

thx a lot again, and hear you later
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 10:23

if all else fail, this should work - I'll have a look on the first ones though this afternoon because they should work too
Attachments
Pads-control-PadsCC-alt.jzml
(7.13KiB)Downloaded 122 times

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 17:32

Ummmm...just tried the first one....works ok! Didnt you want the 1x4 pads to send on the designated CCs? because thats what it does, the 4x4 doesnt do anything midi wise.

edit *and the last one sends the wrong CCs lol

pieeer
Newbie
Posts:19
Joined:02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer » 03 Jun 2014 17:36

mmm i'm sorry no

when using the 1x4 pad the 4 pads all send out on cc 1 chan 4,
i think the ctlout part is not ok

else we could do that 1x4 pad sends out always on cc numbers 1 2 3 4, while the 4x4 pad defines the midi channel, maybe this is easier?

in case this works we can go for the whole setup where the 4x4 pad works out two 1x16 pads
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 17:37

No the first one works...

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore » 03 Jun 2014 17:38

I just tried - it works as described....each of the four pads send their "selected" CC on channel 1

Post Reply