Quick Sign In:  

Forum: VirtualDJ Skins

Topic: dividing a length of 2

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

Dodge57PRO InfinityMember since 2009
Hello,

it's possible to fivide un song length of 2 ? I would have the half of a song length.
 

Posted Wed 20 Mar 13 @ 9:39 pm
Dodge57PRO InfinityMember since 2009
it's not possible ?
 

Posted Thu 21 Mar 13 @ 1:13 pm
you could use goto 50% to only play the end or ask phantom to add a command to his 'skin companion' plugin that queries 'songpos_remain' and stops if the track has less than 50% remaining.

Can you explain the purpose of the function?
 

Posted Thu 21 Mar 13 @ 10:34 pm
Dodge57PRO InfinityMember since 2009
My English is not very good, sorry:
I want to display the value of half the length. For example, if a song is 5 minutes, it should display 2min30.

I tried this (in a textzone) :

format="`get loaded_song 'length' & param_multiply 0.5`"/>

format="`get loaded_song 'length' & param_multiply 50%`"/>

format="%time `& param_multiply 50%`"/>


but it don't work...

(is to display this value below half of the waveform)
 

Posted Fri 22 Mar 13 @ 8:34 am


(Old topics and forums are automatically closed)