快速登录:  

Forum: General Discussion

话题: Help with Pad leds blink
J@vierCPRO InfinityMember since 2014
Hi i use this pad xml for stems Fx . How i can make blink led when pad function is active ? thankss

<?xml version="1.0" encoding="UTF-8"?>
<page name="Stems Pad Fx">
<pad1 name="`var &apos;stemsfx&apos; ? get_text &quot;Voc Echo 1&quot; : get_text &quot;Voc Cut 1/4bt&quot;`" color="color &apos;yellow&apos;">var &apos;stemsfx&apos; ? padfx &quot;echo&quot; 50% 1bt &quot;stemfx:vocal&quot; : padfx &quot;Cut&quot; 100% 0.25bt &quot;stemfx:vocal&quot;&quot;
</pad1>
<pad2 name="`var &apos;stemsfx&apos; ? get_text &quot;Intr Echo Out 1bt&quot; : get_text &quot;Voc Cut 1/2bt&quot;`" color="color &apos;#53DFA7&apos;">var &apos;stemsfx&apos; ? padfx &quot;echo out&quot; 40% 1bt &quot;stemfx:MeloRhythm&quot; : padfx &quot;Cut&quot; 100% 0.5bt &quot;stemfx:vocal&quot;&quot;</pad2>
<pad5 name="Voc Reverb" color="color &apos;#53DFA7&apos;">padfx &quot;reverb&quot; 40% 70% &quot;stemfx:vocal&quot; :</pad5>
<pad4 name="Instr Braker" color="color &quot;RED&quot;">toggle &quot;brakestems&quot; &amp; slip_mode on &amp; padfx_single &apos;brakestart&apos; 25% &apos;stemfx:meloRhythm&apos; &amp; wait 1bt &amp; slip_mode off</pad4>
<pad3 name="Voc Cut 1bt" color="color &apos;#53DFA7&apos;">padfx &quot;Cut&quot; 100% 1bt &quot;stemfx:vocal&quot;&quot;</pad3>
<pad8 name="Instru Echo 1bt" color="color &apos;red&apos;">padfx &quot;echo out&quot; 50% 1bt &quot;stemfx:melorhythm&quot;</pad8>
<pad7 name="Vocal Breaker" color="color &apos;blue&apos;">toggle &quot;brakestems1&quot; &amp; slip_mode on &amp; padfx_single &apos;brakestart&apos; 20% &apos;stemfx:vocal&apos; &amp; wait 1bt &amp; slip_mode off</pad7>
<pad6 name="Echo Melody 1bt" color="color &apos;RED&apos;">padfx &quot;echo out&quot; 50% 1bt &quot;stemfx:Melody&quot;</pad6>
<param1 />
<param2 />
<shift_pad1 name="EFFECT OFF">effect_stems &quot;vocal&quot; off</shift_pad1>
<shift_pad3 name="Flan" color="color &apos;green&apos;">down ? on &amp; set &apos;VoxFXcount&apos; `var &apos;VoxFXcount&apos; ? get_var &quot;VoxFXcount&quot; &amp; param_add 1 : get_text &apos;1&apos; &amp; param_cast val` &amp; effect_stems &apos;vocal&apos; on &amp; padfx &apos;flanger&apos; 0.5 0.65 0.7 0.5 &amp; padfx &apos;phaser&apos; 0.5 0.65 0.75 0.5 0.5 : off &amp; effect_active &apos;phaser&apos; off &amp; effect_active &apos;flanger&apos; off &amp; get_var &quot;VoxFXcount&quot; &amp; param_equal 1 ? effect_stems &apos;vocal&apos; off &amp; set &apos;VoxFXcount&apos; `get_var &quot;VoxFXcount&quot; &amp; param_add -1` : set &apos;VoxFXcount&apos; `get_var &quot;VoxFXcount&quot; &amp; param_add -1`</shift_pad3>
<shift_pad7 />
<shift_pad2 />
<menu>Stem Creator Tool =[Open_stem_creator]</menu>
</page>
 

发表时间 Wed 03 Apr 24 @ 1:39 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Normally the "led" of the Pad follows the true/false of the action=", but in your case you can add query="" in your xml
E.g.
<pad5 name="Voc Reverb" color="color &apos;#53DFA7&apos;" query="padfx &quot;reverb&quot; 40% 70% &quot;stemfx:vocal&quot; ? blink : off">padfx &quot;reverb&quot; 40% 70% &quot;stemfx:vocal&quot; </pad5>
 

发表时间 Wed 03 Apr 24 @ 2:07 pm
J@vierCPRO InfinityMember since 2014
thanks!! works ok.
 

发表时间 Wed 03 Apr 24 @ 7:04 pm
J@vierCPRO InfinityMember since 2014
djdad wrote :
Normally the "led" of the Pad follows the true/false of the action=", but in your case you can add query="" in your xml
E.g.
<pad5 name="Voc Reverb" color="color '#53DFA7'" query="padfx "reverb" 40% 70% "stemfx:vocal" ? blink : off">padfx "reverb" 40% 70% "stemfx:vocal" </pad5>


is possible blink action in another color? thanks

 

发表时间 Thu 04 Apr 24 @ 3:34 pm
J@vierCPRO InfinityMember since 2014
J@vierC wrote :
djdad wrote :
Normally the "led" of the Pad follows the true/false of the action=", but in your case you can add query="" in your xml
E.g.
<pad5 name="Voc Reverb" color="color '#53DFA7'" query="padfx "reverb" 40% 70% "stemfx:vocal" ? blink : off">padfx "reverb" 40% 70% "stemfx:vocal" </pad5>


is possible blink action in another color? thanks
my controller is a denon Prime Go and blink is red and barely visible.



 

发表时间 Fri 05 Apr 24 @ 10:59 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Yes, you can have any color you want. You define colors in color="" and you blink or turn on/off in query=""
So , as an example,
color="play ? color 'green' : color 'red'" and query="play ? on : blink"
Will be red solid when playing and blink green when not.
 

发表时间 Fri 05 Apr 24 @ 1:54 pm
J@vierCPRO InfinityMember since 2014
sorry i dont understand.... i like when action of the pad is not active lite in red and when press the pad and the action assigned is active blink in another color , green .

<pad6 name="Echo Melody 1bt" color="color &apos;blue&apos;" query="padfx &quot;echo out&quot; 50% 1bt  &quot;stemfx:Melody&quot; ? blink : off">padfx &quot;echo out&quot; 50% 1bt  &quot;stemfx:Melody&quot;</pad6>
 

发表时间 Sat 06 Apr 24 @ 9:34 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Try ...
<pad6 name="Echo Melody 1bt" color="padfx 'echo out' 50% 1bt  'stemfx:Melody' ? color 'green' : color 'red''" query="padfx 'echo out' 50% 1bt 'stemfx:Melody' ? blink : on">padfx 'echo out' 50% 1bt  'stemfx:Melody'</pad6>


 

发表时间 Sun 07 Apr 24 @ 8:06 am
J@vierCPRO InfinityMember since 2014
thanks works !!
 

发表时间 Mon 08 Apr 24 @ 10:40 am