Connexion rapide:  

Forum: General Discussion

Sujet Need help to make a script
Hi there. I would like to make this scrip on a numark NVII pad. For a pitch reset function at 0,5% I would like that: if the bpm is lower then the original bpm, I would like the button to be red. If the bpm is faster then the original bpm, I would like the button to be blue. When I push this button to meet the original bon. I would it to flash all the way to see he is doing something. When the pitch meet the original speed I would like the color change for green.

Don’t know if it’s possible

Thank you
 

Posté Mon 15 Feb 21 @ 3:41 am
NicotuxHome userMember since 2014
Don't know for NVII specifically but generic (or standard pad):
pad action:
blink && pitch_reset
on led:
get_bpm absolute & param_bigger `get_bpm` ? color red : param_smaller `get_bpm` ? color blue : color green
 

Posté Mon 15 Feb 21 @ 5:14 am
Hi, Sorry I don't understand the scripts. I would like my buttons jus blink when I push it, otherwise stay still. there is my command : stem_pad 'vocal' blink : green. now he does the opposite. Thank you
 

Posté Mon 01 Mar 21 @ 6:05 pm
NicotuxHome userMember since 2014
just try
not stem_pad 'vocal' blink : green

the : green do not do anything

correct would be
not stem_pad vocal && blink ? : color green
or
not stem_pad vocal && blink ? color green

with the only difference being they blink in the opposite order
when script 1 blinking is green script 2 is off
when script 1 blinking is off script 2 is green

when vocal is audible they both are off
 

Posté Mon 01 Mar 21 @ 7:07 pm