Pads to Program Change
Posted: 14 Apr 2016 13:56
Hi
I need help with this:
I create a group of pads 7x4 = 28 (pads)
I want each pad to send a prg. change, like this: pad1 = 1, pad2 = 2 and so on, when it's activated.
I have tried this:
I declare a var: decl pgnum;
And pgnum=firstof(pads)+1 // I hope this will return 1 for pad1, 2 for pad2 and so on.
Last I create an out() and set it to prg. change and set preset to pgnum
But the firstof(pads) is always 0, and only the first pad sends a prg. change.
I really could need some help here, and I have to say, it would be really nice with some example scripts, scenarios All basic ;-(
ps. Would it be better to use switches in radio mode?
I need help with this:
I create a group of pads 7x4 = 28 (pads)
I want each pad to send a prg. change, like this: pad1 = 1, pad2 = 2 and so on, when it's activated.
I have tried this:
I declare a var: decl pgnum;
And pgnum=firstof(pads)+1 // I hope this will return 1 for pad1, 2 for pad2 and so on.
Last I create an out() and set it to prg. change and set preset to pgnum
But the firstof(pads) is always 0, and only the first pad sends a prg. change.
I really could need some help here, and I have to say, it would be really nice with some example scripts, scenarios All basic ;-(
ps. Would it be better to use switches in radio mode?