Forum
    • Categories
    • Register
    • Login
    1. Home
    2. svkpowa
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Groups 0

    svkpowa

    @svkpowa

    1
    Reputation
    1
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    svkpowa Unfollow Follow

    Best posts made by svkpowa

    • RE: Show value on knob, but not editable

      @David-Healey today I learned how to edit knobs in knobman. knob jumping through actual values is much better looking than a normal 0-10 scale like in the original5a357cd1-2fa5-4ea1-b884-96512c3da37b-image.png

      I'm addicted to it right now

      posted in Scripting
      S
      svkpowa

    Latest posts made by svkpowa

    • RE: Show value on knob, but not editable

      @David-Healey today I learned how to edit knobs in knobman. knob jumping through actual values is much better looking than a normal 0-10 scale like in the original5a357cd1-2fa5-4ea1-b884-96512c3da37b-image.png

      I'm addicted to it right now

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey hope it won't cause the gpu eating, there are twice as many knobs 馃樃

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey i created a second "knob" with the scale of 0.001 to make it invisible and scaled the tile to fit into the real knob, then - linked to it. one knob makes as a controller, the second one as display. had to make it with every knob, but hey - it's just 10 minutes

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey needed some time to figure it out 馃榿 73109c59-30cb-4e50-a4cc-2a3f28bafc60-image.png

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @pgroslou

      Okay, Gemini helped me, but it can't solve a problem. Only components named Volume and Balance are giving the text, the rest is not reacing:

      // 1. Pobieramy okienko wy艣wietlacza
      const var Label1 = Content.getComponent("Label1");
      
      // 2. Definiujemy jedn膮, wsp贸ln膮 funkcj臋 dla wszystkich knob贸w
      inline function onKnobUpdate(component, value)
      {
      	// Pobieramy nazw臋 z pola "text" komponentu i warto艣膰 z 1 miejscem po przecinku
      	local name = component.get("text");
      	local val = Engine.doubleToString(value, 1);
      	
      	Label1.set("text", name + ": " + val);
      }
      
      // 3. R臋czna lista Twoich knob贸w (wpisz tutaj ich ID)
      // To jest najpewniejsza metoda w HISE
      const var knobList = [
      	Content.getComponent("Volume"),
      	Content.getComponent("Gain"),
      	Content.getComponent("Balance"),
      	Content.getComponent("ReverbMix1")
      ];
      
      // 4. Przypisujemy funkcj臋 do ka偶dego knoba z listy powy偶ej
      for(k in knobList)
      {
      	if(k) // Sprawdzamy czy knob w og贸le istnieje
      	{
      		k.setControlCallback(onKnobUpdate);
      	}
      }
      
      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      You misunderstood me. I meant something like this, for example in Spire:60b97a3b-b0e4-4e19-b1a4-a1bad344fc3a-image.png

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey Displaying just the value is fine compromise, is there a script for floating tile to do this?

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey what about the custom textbox, like for example in the corner? I mean, when I change the volume, it shows: "Volume: 70%", when I'm changing the reverb, it says "ReverbMix: 30%" etc etc. Is it possible?

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey so there is no way to scale the edit box to be only in the middle, for example?

      posted in Scripting
      S
      svkpowa
    • RE: Show value on knob, but not editable

      @David-Healey Fine, but the value disappears. I want it to be there, but disable the edit option.

      posted in Scripting
      S
      svkpowa