Accesso rapido:  

Forum: General Discussion

Topic: script beat to variable

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

i want a variable that it's true if the beat is stil going on and false if the beat is of for more than 1 second.
i will use this variable for my dmx connection

i ve got a script in a button :
param_bigger get_beat2 40% & pulse 1000ms
the button gives the right performance, but i cannot use this for acting to variables

e.g. param_bigger get_beat2 40% & pulse 1000ms ? set_var '$beat' true : set_var '$beat' false

anyone an idea?
 

Inviato Thu 27 Jun 19 @ 9:06 pm
NicotuxHome userMember since 2014
A not so diffficult one :
param_bigger "`get_beat2`" 40% ? set '$beat' 1 & repeat_start_instant 'rept' 1000ms 1 : set $beat 0
will keep this one or my dmx too
param_bigger "`get_beat2`" 40% ? toggle '$beat' & repeat_start_instant 1000ms 1 : set $beat 0

they don't really acheive what you want but it's a start point
 

Inviato Thu 27 Jun 19 @ 9:53 pm


(Vecchi argomenti e forum sono automaticamente chiusi)