Hi all,
Playing with song position and I got the following to work
param_greater 2% "deck left song_pos" ? loop 1 : play
but rather than use percentage through the song, I can't figure out how to
-Create a loop if it's over 5 elapsed seconds and
-Just start playing if it's under 5 elapsed seconds
I tried to use both time as shown here:
param_greater 0:05.0 "deck left song_pos" ? loop 1 : play
and miliseconds as shown here:
param_greater 5000ms "deck left song_pos" ? loop 1 : play
with no luck.
All tips welcome :-)
Playing with song position and I got the following to work
param_greater 2% "deck left song_pos" ? loop 1 : play
but rather than use percentage through the song, I can't figure out how to
-Create a loop if it's over 5 elapsed seconds and
-Just start playing if it's under 5 elapsed seconds
I tried to use both time as shown here:
param_greater 0:05.0 "deck left song_pos" ? loop 1 : play
and miliseconds as shown here:
param_greater 5000ms "deck left song_pos" ? loop 1 : play
with no luck.
All tips welcome :-)
Posted Mon 20 Jun 22 @ 7:38 pm
get_time
Quote :
get the elapsed time (or remaining or total depending on "display_time"), in milliseconds
Posted Mon 20 Jun 22 @ 7:53 pm
@Adion,
Once again saved me. Thanks!
param_greater 5000 "get_time elapsed" ? loop 1 : play
Once again saved me. Thanks!
param_greater 5000 "get_time elapsed" ? loop 1 : play
Posted Mon 20 Jun 22 @ 8:15 pm