SCRIPTING PROBLEM, please help!!

Discuss Lemur and share techniques.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore »

UNLESS if by CC you actually mean "value" of a given CC.....in that case everything is wrong
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

yes they do!!! great!! so as i say in the PM ;)

but let's say the 4x4 has to control 8 1x4, i was thinking to use a different midi channel per 1x4 pad
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore »

Oh come onnnn! Study the example a bit....its just copy-pasting after you get it

;)
Attachments
Pads-control-PadsCC-8channels.jzml
(22.83 KiB) Downloaded 91 times
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

great!!!

there should be 8 1x4 pad, i thought of giving different channel output to each one..

i can't find where you declare the midi channel in the script..
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

Great!!!
and got it now,
thanks for this great lesson, i'll show you soon what this is for

Yes, c++ is my black hole... :lol:
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

-hi softcore

mmm,

your patch works perfectly standalone, but as i implement it in my main control patch all the pads send on chan 1, instead of 1-8..

damn, i copied the scripts with care, but i'm wondering if there's conflicts with other easy scripts or.. don't know,
i think would be better to send you the main patch then..
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore »

Did you also copy the scripts residing in the project level?

init, CCs, labels.....

Also, as the Pads names are generic, if you already have an object "Pads1" up to "Pads8", upon pasting those above, they get renamed so that might be the culprit.
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

i renamed the pads to be ok ,
triple checked the scripts, yes i did copy the global ones, i'll rebuild starting from your patch, i do use other objects with midiout, can be a problem?
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: SCRIPTING PROBLEM, please help!!

Post by Softcore »

Nope no problem there - but if you rename the Pads then you have to change the referenced names in my scripts....
pieeer
Newbie
Posts: 19
Joined: 02 Jun 2014 07:39

Re: SCRIPTING PROBLEM, please help!!

Post by pieeer »

ok.. i did rebuild on yours and works amazing!! and i have still space for more control!!

but
mmm i might have another tricky one.. :-)
please tell me if this can be done

i have a switch and 8 sliders with their values (they all send cc values on midiout) let's say on 0-7 chan1, they're currently used for delay sends
with switch on the 8 sliders change into other 8 with their values ( those also send cc on midiout 8-15 chan1) i would use that to have also a reverb control within the same space..

what you think? was it clear?
Ipad4, liine lemur, corei7 4770K, radeon 6870, access virusB, novation sl25, Focusrite scarlett 18i20, Max/Msp, Touchdesigner, Live suite
Post Reply