General
SCRIPTING PROBLEM, please help!!
Started by pieeer on .
Sign in or create an account to join the conversation.
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...!
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...!
here's one way to do it! A custom midi output is used in the 1x4 pads - do NOT use x

Pads-control-PadsCC.jzml
Pads-control-PadsCC.jzml
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...
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...
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
Pads-control-PadsCC-new.jzml
Try this one, let me know if it works - again "out" is the midi enabled output, not x
Pads-control-PadsCC-new.jzml
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
thx a lot again, and hear you later
if all else fail, this should work - I'll have a look on the first ones though this afternoon because they should work too
Pads-control-PadsCC-alt.jzml
Pads-control-PadsCC-alt.jzml
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
edit *and the last one sends the wrong CCs lol
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
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
No the first one works...
I just tried - it works as described....each of the four pads send their "selected" CC on channel 1
UNLESS if by CC you actually mean "value" of a given CC.....in that case everything is wrong
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
but let's say the 4x4 has to control 8 1x4, i was thinking to use a different midi channel per 1x4 pad
Oh come onnnn! Study the example a bit....its just copy-pasting after you get it

Pads-control-PadsCC-8channels.jzml
Pads-control-PadsCC-8channels.jzml
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..
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..
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...
and got it now,
thanks for this great lesson, i'll show you soon what this is for
Yes, c++ is my black hole...
-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..
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..
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.
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.
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?
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?
Nope no problem there - but if you rename the Pads then you have to change the referenced names in my scripts....
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?
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?