Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Label in Equalizer Text

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

Hello.
Is there a script command, in the text under the equalizers in the skin, synonymous something like the equalizer label display, as synonymous with the filter is the case?
Greetings Dani
 

Posted Tue 22 Jan 19 @ 11:19 pm
You mean the low mid and high knobs? You want them to show frequency, or amount of decibel boost/cut?
 

Posted Wed 23 Jan 19 @ 6:49 pm
groovindj wrote :
You mean the low mid and high knobs? You want them to show frequency, or amount of decibel boost/cut?


Yes.
How the same as under the Filter (Filter_Label).
So when I use the Low Mid or High Slider , that shows + or - .. db or - + in % , in Example.
Or Frequencies als good , Yes ;-)
 

Posted Wed 23 Jan 19 @ 8:11 pm
It's as simple as using the verbs that set the equalizer.

So, for a textzone it would be
<text action="eq_low"/>

This will return the position of the EQ slider in %
 

Posted Fri 25 Jan 19 @ 9:50 am
PhantomDeejay wrote :
It's as simple as using the verbs that set the equalizer.

So, for a textzone it would be
<text action="eq_low"/>

This will return the position of the EQ slider in %


No this not work.
<textzone><text localize="true" action="eq_high"/>textzone>
Now it says Error in SKin and dont open...
And n Text under Slider...
I will make that shows the Label in % when I use the Equalizer Slider , and when I not use the Slider than shows the Text only (HIGH) or (LOW) whatever..
So how the same as by the Fliter_Label , when I use the Slider than it show ..Hz and when not it the Labe shows FILTER in Text..
Greetings Dani
 

Posted Fri 25 Jan 19 @ 4:52 pm
PhantomDeejay wrote :
It's as simple as using the verbs that set the equalizer.

So, for a textzone it would be
<text action="eq_low"/>

This will return the position of the EQ slider in %


Your last part is wrong:
..eq_high"/>textzone>
 

Posted Fri 25 Jan 19 @ 5:03 pm
djdutschi wrote :
<textzone><text localize="true" action="eq_high"/>textzone>
Now it says Error in SKin and dont open...


1. You have an error on your XML formatting:
<textzone><text localize="true" action="eq_high"/>textzone>
Needs to be:
<textzone><text localize="true" action="eq_high"/></textzone>

2. Even if you fix the above error, the skin will open but you won't see the text because it's missing critical information like where it should appear
So, you should do something like this:

<textzone>
<size width="50" height="14"/>
<pos x="900" y="250"/>
<text font="Arial" size="12" color="white" action="eq_high"/>
</textzone>
 

Posted Sun 27 Jan 19 @ 4:19 pm
OK .
I have fount the ERROR..
In the Original Skin there was a Button instead of a Text.
And I have revise it to a Text Script...
Here the Original Script from the Low EQ Slider:
<panel class="knobbk">
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" />
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" frommiddle="true"/>
<button action="nothing" query="eq_kill_low" ><tooltip></tooltip><text localize="true" text="LOW"/><textselected localize="true" text="LOW"/></button>


And here is the New Script with two Text , I must klick the second Text to see this Label:
<panel class="knobb">
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" />
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" frommiddle="true"/>
<textzone><text localize="true" text="BASS"/><text2 localize="true" align="center" format="`eq_low`"/></textzone>


The Error why it not work before is.... this Script , <panel class="knobb">
In the original Skin there was <panel class="knobbk">
The error is (knoppk) knoppk works only with a button...
I have change it to (knopp) and now it work good ;-)

So your tip was right ;-) Thanks!

But what I would like is that the label from Text2 works, if I move the slider.
And not as a second text I have to click first.
And if the slider is not moved, then just stand there GAIN.

Ok?
Thank You , Dani :-)
 

Posted Sun 27 Jan 19 @ 11:33 pm
<panel class="knobb">
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" />
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" frommiddle="true"/>
<textzone><text localize="true" align="center" action="eq_low"/></textzone>
</panel>
 

Posted Wed 30 Jan 19 @ 9:07 am
No this not works.
This shows ever the Label...
But I will that the Slider shows the Text "LOW" when the slider is in Center Position , and whwn I move the Slider than it shows the Label ;-)
But it does it not..
It only works with a second text , I have all tested..
Only by the Filter this shows the Text Filter when the Slider is in Center ..
 

Posted Wed 30 Jan 19 @ 12:15 pm
use this action then:

<panel class="knobb">
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" />
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" frommiddle="true"/>
<textzone><text localize="true" align="center" action="param_equal eq_low 0.5 ? get_text 'LOW' : eq_low & param_cast 'percentage'"/></textzone>
</panel>


param_equal eq_low 0.5 ? get_text 'LOW' : eq_low & param_cast 'percentage'
 

Posted Wed 30 Jan 19 @ 2:44 pm
Thank You test it later :-)
Hope this works
 

Posted Wed 30 Jan 19 @ 3:00 pm
PhantomDeejay wrote :
use this action then:

<panel class="knobb">
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" />
<slider action="eq_low" dblclick="eq_low 50%" rightclick="eq_low 0% ? eq_low 50% : eq_low 0%" frommiddle="true"/>
<textzone><text localize="true" align="center" action="param_equal eq_low 0.5 ? get_text 'LOW' : eq_low & param_cast 'percentage'"/></textzone>
</panel>


param_equal eq_low 0.5 ? get_text 'LOW' : eq_low & param_cast 'percentage'


OK.
That works now.
Is there perhaps still the possibility to display the label text only if I move the slider ,
And if he is not moved, no matter where, then the text "LOW" is displayed?
Greetings Dani
 

Posted Thu 31 Jan 19 @ 2:01 pm
No
 

Posted Fri 01 Feb 19 @ 7:20 am
Ok.
Thank You much for Help.
And nice Weekend.
Dani
 

Posted Fri 01 Feb 19 @ 3:15 pm


(Old topics and forums are automatically closed)