<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[show 2 value in 1 label]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I'm looking for how to display the values ​​of the Frequency button in a lfo modulator using a label.<br />
knowing that it has 2 different values, one from 0 to 40 and the other is the synchronization of time (1/2, 1/4 ...)<br />
I put a button on my interface which allows to activate or not the tempo sync. but I would like that depending on if the tempo sync is activated or not, the value is displayed in the label therefore, either in frequency or in 1/2 1/4 ....<br />
how can i do?</p>
]]></description><link>https://forum.hise.audio/topic/2680/show-2-value-in-1-label</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 00:54:42 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/2680.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 11 Jun 2020 10:39:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to show 2 value in 1 label on Thu, 11 Jun 2020 11:12:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/666">@yall</a> Put all sync values in an array such as <code>const var tempoValues = ["1/1", "1/2D", "1/2", "1/2T", etc...];</code></p>
<p dir="auto">Then it depends if you use 2 different knobs (one for freq and another for sync values) or a single knob changing its properties (min, max, stepSize...)</p>
<p dir="auto">In the knob callback, get the array index when in sync mode using the knob value for the label <code>Label.set("text", tempoValues[value]);</code></p>
]]></description><link>https://forum.hise.audio/post/21944</link><guid isPermaLink="true">https://forum.hise.audio/post/21944</guid><dc:creator><![CDATA[ustk]]></dc:creator><pubDate>Thu, 11 Jun 2020 11:12:10 GMT</pubDate></item></channel></rss>