So I've got this script in a skin:
<visual class ="jogring" type="circle" source="get position" visibility="songpos_remain 15000ms ? blink 400ms : songpos_remain 30000ms ? blink : on">
</visual>
Works fine.
But I'm wondering if it is still working correct if you change the pitch of the track.
I.E.
The jogring would start to blink at 30 seconds remaining.
Now play the same song but with pitch set to -18%.
The jogring will now start to blink somewhere around 24 seconds remaining displayed on the deck. BUT, in "real" seconds it is still 30 seconds.
I find this kind of ...confussing and I'm not sure if this is an intended behaviour or if the deck should start blinking at the given time remain value, no matter what the pitch value is.
<visual class ="jogring" type="circle" source="get position" visibility="songpos_remain 15000ms ? blink 400ms : songpos_remain 30000ms ? blink : on">
</visual>
Works fine.
But I'm wondering if it is still working correct if you change the pitch of the track.
I.E.
The jogring would start to blink at 30 seconds remaining.
Now play the same song but with pitch set to -18%.
The jogring will now start to blink somewhere around 24 seconds remaining displayed on the deck. BUT, in "real" seconds it is still 30 seconds.
I find this kind of ...confussing and I'm not sure if this is an intended behaviour or if the deck should start blinking at the given time remain value, no matter what the pitch value is.
发表时间 Tue 24 Jan 17 @ 8:32 am
It all depends on what you want to see and measure.
For instance: In a track that's paused, when you move pitch, should the remain time counter on skin stay still (and therefore count down in slower/higher speed) or change to reflect the tempo change (and therefore display the true time) ?
songpos_remain works with "true" time and take pitch into account.
In fact all time actions work this way on VirtualDj unless you change them to use "absolute" time (Not take pitch into account)
For instance: In a track that's paused, when you move pitch, should the remain time counter on skin stay still (and therefore count down in slower/higher speed) or change to reflect the tempo change (and therefore display the true time) ?
songpos_remain works with "true" time and take pitch into account.
In fact all time actions work this way on VirtualDj unless you change them to use "absolute" time (Not take pitch into account)
发表时间 Tue 24 Jan 17 @ 9:04 am
Think songpos_remain went wrong in this action. Maybe there will be another function (variable) to catch the right time. I modified the standard VDJ skin to let all jogrings blink at "songpos_remain 15000ms ? blink 400ms : songpos_remain 30000ms ? blink : on". It works as long as I play the track normal speed. If I pitch my song "REMAIN (time)" will increase/decrease but the jogring will start blinking <> 30000ms depends on the pitch value more or less.
WIKI: songpos_remain : get the remaining time in %. if used with a parameter (in % or ms), returns true if the time left is less or equal than the value: 'songpos_remain 500ms ? blink'.
Maybe the problem is the value of songpos_remain given in %. Start blinking is always at the same position of the track, but in my case the "30 seconds left" position is not the same when pitched.
Full size: http://fs5.directupload.net/images/170126/pelzmtav.jpg
WIKI: songpos_remain : get the remaining time in %. if used with a parameter (in % or ms), returns true if the time left is less or equal than the value: 'songpos_remain 500ms ? blink'.
Maybe the problem is the value of songpos_remain given in %. Start blinking is always at the same position of the track, but in my case the "30 seconds left" position is not the same when pitched.
Full size: http://fs5.directupload.net/images/170126/pelzmtav.jpg
发表时间 Wed 01 Mar 17 @ 8:52 pm