Quick Sign In:  

Forum: General Discussion

Topic: script beat to variable

This topic is old and might contain outdated or incorrect information.

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?
 

Posted 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
 

Posted Thu 27 Jun 19 @ 9:53 pm


(Old topics and forums are automatically closed)