Unwanted midi data, can someone help?
Posted: 20 Mar 2015 13:50
Hi,
I've made a template for Operator and I'm executing this randomise Osc script when I press a button in the template:
The template and all the controls to Operator which the script alters are hardcoded to midi channel 2 but I am getting a bug/unwanted side effect where midi control messages on channel 1 are coming through when I tap the button, controller numbers 6 & 7 (checked with Midi Monitor). This is then messing with Ableton Analog on another track in Ableton. Are these being added by iConnect Midi 4+ (my Midi Controller) or is this standard behaviour? If no-one can help, I guess I should just change the mapping I've set up for Analog but hope I don't have to.
I've made a template for Operator and I'm executing this randomise Osc script when I press a button in the template:
Code: Select all
// set random values for all the osc parameters
decl r1 = rand()*22;
decl r2 = rand()*30/100;
decl r3 = rand();
decl r4 = rand();
decl r5 = rand();
decl r6 = rand();
decl r7 = rand();
decl r8 = rand();
decl r9 = rand();
decl r10 = rand();
decl r11 = rand();
decl r12 = 0.25+rand()*75/100;
oscatype = round(r1);
osc_coarse.x = r2;
osc_fine.x = r3;
osc_freq.x = r4;
osc_multi.x = r5;
osc_feedback.x = r6;
osc_phase.x = r7;
osc_atk.x = r8;
osc_dec.x = r9;
osc_sus.x = r10;
osc_rel.x = r11;
osc_lvl.x = r12;