How can on query if a POI mixpoint exists?
I see only:
set_mixpoint
goto_mixpoint
if one tries to go to a mixpoint that does not exist.. nothing happens.. would like to script for that case and do something else.
with the logic of:
MIXPOINT_EXISTS ? goto_mixpoint : do something else
Need a verb like maybe: ?
is_mixpoint
OR
mixpoint
and help from the amazing support here
I see only:
set_mixpoint
goto_mixpoint
if one tries to go to a mixpoint that does not exist.. nothing happens.. would like to script for that case and do something else.
with the logic of:
MIXPOINT_EXISTS ? goto_mixpoint : do something else
Need a verb like maybe: ?
is_mixpoint
OR
mixpoint
and help from the amazing support here
Posté Wed 02 Feb 22 @ 4:49 am
get position, save as var, call goto, query position now against var, if same there wasn't the mixpoint.
Posté Wed 02 Feb 22 @ 5:08 am
Thank you locodog
That type of logic seemed like a workaround.. any will work if one is not already at the mixpoint.
since there is no indication in the wiki about the units that get_postion outputs.. beats, bars, seconds, ms, percentage of track length?
need more help with the script..
this does not work:
and is currently the long way to create a 4 beat loop at one of 2 locations. Is it the quoting? or ?
Need more hints :)
---------------------
My initial thought for a workaround was to goto 0 create hotcue and then attempt to goto_mixpoint set hotcue and then compare the hotcues. ..
And was so hoping there was an elegant way to query for a mixpoint existing.
That type of logic seemed like a workaround.. any will work if one is not already at the mixpoint.
since there is no indication in the wiki about the units that get_postion outputs.. beats, bars, seconds, ms, percentage of track length?
need more help with the script..
this does not work:
goto 0 & set_var 'MyPos' `get_position` & goto_mixpoint "EndTempo" & param_equal `get_position` "var 'MyPos'" ? play_pause : loop 4
and is currently the long way to create a 4 beat loop at one of 2 locations. Is it the quoting? or ?
Need more hints :)
---------------------
My initial thought for a workaround was to goto 0 create hotcue and then attempt to goto_mixpoint set hotcue and then compare the hotcues. ..
And was so hoping there was an elegant way to query for a mixpoint existing.
Posté Wed 02 Feb 22 @ 12:04 pm
`get_var ....` for the comparison
Posté Wed 02 Feb 22 @ 8:12 pm
Thank you Locodog ! That was the needed fix :)
and what are the units that get_position uses ?
and why does this script using var_equal, not work?
IIDEEJAYII wrote :
there is no indication in the wiki about the units that get_postion outputs.. beats, bars, seconds, ms, percentage of track length?
and what are the units that get_position uses ?
and why does this script using var_equal, not work?
goto 0 & set_var 'MyPos' `get_position` & goto_mixpoint "EndTempo" & var_equal 'MyPos' `get_position` ? play_pause : loop 4
Posté Thu 03 Feb 22 @ 1:54 am
% expressed as 0.0 to 1.0
I don't think var_equal accepts an action (only a var name or a real value)
I honestly don't use var_equal all that often, param_equal has more options.
I don't think var_equal accepts an action (only a var name or a real value)
I honestly don't use var_equal all that often, param_equal has more options.
Posté Thu 03 Feb 22 @ 2:37 am
Thank you Locodog for everything . You ROCK :))
Posté Thu 03 Feb 22 @ 6:14 am