Display MoreThis switching makes sense with motorized faders.
Of course it is possible - adding this functionality.
I don't have the controller with me - but try it yourself
open js file with editor - and add additional code that I will paste below - exactly on line 170
before this line
if (msg.note == 88) {// fader buttons HI
CodeDisplay Moreif (msg.note == 87) {//wing select if (wing == 2) { wing = 1; faderValueMem[56] = 1; var fbuttons = [13, 12, 11, 10, 9, 8, 7, 6, 13, 12, 11, 10, 9, 8, 7, 6]; var buttons = [213, 212, 211, 210, 209, 208, 207, 206, 113, 112, 111, 110, 109, 108, 107, 106, 807, 806, 805, 804, 803, 802, 801, 800, 707, 706, 705, 704, 703, 702, 701, 700, 607, 606, 605, 604, 603, 602, 601, 600, 507, 506, 505, 504, 503, 502, 501, 500, 407, 406, 405, 404, 403, 402, 401, 400, 307, 306, 305, 304, 303, 302, 301, 300]; output.send('noteon', { note: 87, velocity: 0, channel: 0 }); } else { wing = 2; var fbuttons = [21, 20, 19, 18, 17, 16, 15, 14, 21, 20, 19, 18, 17, 16, 15, 14]; var buttons = [221, 220, 219, 218, 217, 216, 215, 214, 121, 120, 119, 118, 117, 116, 115, 114, 815, 814, 813, 812, 811, 810, 809, 808, 715, 714, 713, 712, 711, 710, 709, 708, 615, 614, 613, 612, 611, 610, 609, 608, 515, 514, 513, 512, 511, 510, 509, 508, 415, 414, 413, 412, 411, 410, 409, 408, 315, 314, 313, 312, 311, 310, 309, 308]; output.send('noteon', { note: 87, velocity: 127, channel: 0 }); } }
Hi,
Thanks for your reply. I was trying it out and there seems to be a bug. I get the error as attached when I press a button. I try to debug and discovered the problem probably is something with the "var ...." in both statements. Without it no error occurs (but the board doesn't work probably ofc). I've tried to fix it but no luck so far.