Hello, i have created a newbie bome project for FreestylerDMX software with akai apc min mk2 midi controller.I have made some list change midi buttons with colors.
How can initialize led button feedback when i start the project?
I added a new preset “Init” that handles all of the start actions.
Translator 0.0 fires when the project is open and will trigger translators 0.1, 0.2 and 0.3.
0.1 will trigger Timer 0.4 64 times “Init Matrix”.
0.2 will trigger Timer 0.5 8 times “Init Bottom”
0.3 will trigger Timer 0.6 8 times “Init Side”
The rules of translator 0.4 determine the LED color based on the iteration number setting the variable “tt”. I only have rules for the bottom row with color 5 and color 18 for the remaining rows. You will need to modify for the colors you want based on the iteration number.
Translators 0.5 and 0.6 set the the iteration value based on the note numbers of the bottom row and side column respectively. Since they are single color leds, I set the outgoing velocity to 1 to turn them on. Again you can use rules to modify the behavior as you see fit.
I set the outgoing device at the preset level.
For more information about device selection, see this tutorial.
The remaining presets and translators are untouched.
// add rules here depending on the color of the button you want
//1st Row
if oo==63 then tt=3
else if oo==62 then tt=9
else if oo==61 then tt=33
else if oo==60 then tt=13
else if oo==59 then tt=53
else if oo==58 then tt=45
else if oo==57 then tt=21
else if oo==56 then tt=5
//2nd Row
else if oo==55 then tt=3
else if oo==54 then tt=9
else if oo==53 then tt=33
else if oo==52 then tt=13
else if oo==51 then tt=53
else if oo==50 then tt=45
else if oo==49 then tt=21
else if oo==48 then tt=5
//3nd Row
else if oo==47 then tt=10
else if oo==46 then tt=10
else if oo==45 then tt=10
else if oo==44 then tt=10
else if oo==43 then tt=10
else if oo==42 then tt=10
else if oo==41 then tt=10
else if oo==40 then tt=10
//4th Row
else if oo==39 then tt=10
else if oo==38 then tt=10
else if oo==37 then tt=10
else if oo==36 then tt=10
else if oo==35 then tt=10
else if oo==34 then tt=10
else if oo==33 then tt=10
else if oo==32 then tt=10
//5th Row
else if oo==31 then tt=49
else if oo==30 then tt=49
else if oo==29 then tt=49
else if oo==28 then tt=49
else if oo==27 then tt=49
else if oo==26 then tt=49
else if oo==25 then tt=49
else if oo==24 then tt=49
//6th Row
else if oo==23 then tt=14
else if oo==22 then tt=14
else if oo==21 then tt=14
else if oo==20 then tt=14
else if oo==19 then tt=14
else if oo==18 then tt=14
else if oo==17 then tt=14
else if oo==16 then tt=14
//7th Row
else if oo==15 then tt=18
else if oo==14 then tt=18
else if oo==13 then tt=18
else if oo==12 then tt=18
else if oo==11 then tt=18
else if oo==10 then tt=18
else if oo==9 then tt=18
else if oo==8 then tt=18
//8th Row
else if oo==7 then tt=55
else if oo==6 then tt=55
else if oo==5 then tt=55
else if oo==4 then tt=55
else if oo==3 then tt=55
else if oo==2 then tt=55
else if oo==1 then tt=55
else if oo==0 then tt=55