Hello,
I search a solution for have the whole number of the volume value
with this :
<textzone pannel="Tonalite1">
<size width="40" height="12"/>
<pos x="226" y="155"/>
<up x="366" y="1321"/>
<text dx="0" dy="0" font="Tahoma" size="11" color="#A0A0A0" align="center" format="`deck 1 get volume`"/>
</textzone>
I have for exemple 88,10% and I want just 88%
I search a solution for have the whole number of the volume value
with this :
<textzone pannel="Tonalite1">
<size width="40" height="12"/>
<pos x="226" y="155"/>
<up x="366" y="1321"/>
<text dx="0" dy="0" font="Tahoma" size="11" color="#A0A0A0" align="center" format="`deck 1 get volume`"/>
</textzone>
I have for exemple 88,10% and I want just 88%
geposted Fri 30 Nov 12 @ 10:25 am
Unless i am mistaken, there is no way to specify the part of the number with the current VDJ Skin Engine. (Integer, decimal digits etc). You can ask for that in our Wishes Forums
There is param_cast action that converts a variable to different format, but never tried and cant help you with this.
There is param_cast action that converts a variable to different format, but never tried and cant help you with this.
geposted Fri 30 Nov 12 @ 3:34 pm
ok, thanks !
I search an exemple for use param_cast but nothing...
The exemple in the wiki don't work : 'pitch_range & param_cast "percentage"'
I search an exemple for use param_cast but nothing...
The exemple in the wiki don't work : 'pitch_range & param_cast "percentage"'
geposted Fri 30 Nov 12 @ 6:33 pm
Again, not sure if this is possible.
I would try .
... format="`deck 1 get volume & pram_cast 'integer'` %"/>
but i am afaid it might return 0, as the 88,3% is equal to 0,883 so it might return 0 or 1.
I would try .
... format="`deck 1 get volume & pram_cast 'integer'` %"/>
but i am afaid it might return 0, as the 88,3% is equal to 0,883 so it might return 0 or 1.
geposted Fri 30 Nov 12 @ 6:37 pm
thank you for your help and sorry for my english ^^
it doesn't work...
I trie all the possibility ( 'integer', 'float', 'percentage', 'ms', 'boolean', 'text'.) but nothing...
I also tried 'param_multiply' but it doesn't work in a textzone :(
it doesn't work...
I trie all the possibility ( 'integer', 'float', 'percentage', 'ms', 'boolean', 'text'.) but nothing...
I also tried 'param_multiply' but it doesn't work in a textzone :(
geposted Sat 01 Dec 12 @ 7:59 am
This one works for me ...
... format="`deck 1 get volume & param_multiply 100 & param_cast 'integer'` %"/>
Also have in mind that the value also depends on the Volume Faders setting (Config-->Options) , if it is set in Linear or Quadratic.
... format="`deck 1 get volume & param_multiply 100 & param_cast 'integer'` %"/>
Also have in mind that the value also depends on the Volume Faders setting (Config-->Options) , if it is set in Linear or Quadratic.
geposted Sun 02 Dec 12 @ 5:18 pm
Thank you very much ! It's work nice !
I think I have forget a ` anywhere...
I think I have forget a ` anywhere...
geposted Mon 03 Dec 12 @ 10:20 am