HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. daniloprates
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 12
    • Groups 0

    daniloprates

    @daniloprates

    2
    Reputation
    3
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    daniloprates Unfollow Follow

    Best posts made by daniloprates

    • RE: Built HISE, but still getting the "source code has a different commit hash than the HISE build" message

      @d-healey yes, that's what was missing.

      Thanks so much!

      posted in Newbie League
      D
      daniloprates
    • RE: LAF how to customize any object?

      Great, thanks a lot, guys!

      posted in Scripting
      D
      daniloprates

    Latest posts made by daniloprates

    • RE: Built HISE, but still getting the "source code has a different commit hash than the HISE build" message

      @d-healey yes, that's what was missing.

      Thanks so much!

      posted in Newbie League
      D
      daniloprates
    • RE: Built HISE, but still getting the "source code has a different commit hash than the HISE build" message

      @d-healey not sure where to find this. In HISE settings I couldn't find anything related to that

      posted in Newbie League
      D
      daniloprates
    • RE: Built HISE, but still getting the "source code has a different commit hash than the HISE build" message

      @d-healey yes, from the repo I've cloned. I've just cloned and built it again, but it's getting the same error. The wizard doesn't download anything. I can't click next, as a get that strange error, like if I had to click the red checkbox, but it's not clickable.

      @d-healey maybe there's a more stable commit I could try?

      posted in Newbie League
      D
      daniloprates
    • Built HISE, but still getting the "source code has a different commit hash than the HISE build" message

      I have built HISE using the instructions in the repo. I have two macs, in one it's working fine, on the other I did the same thing, but am getting this error message:

      "The source code has a different commit hash than the HISE build. This will likely lead to undefined behaviour including compile errors or undetected errors. In order to proceed with the compilation, type 'I know' and click OK"

      My PATH has the correct path to HISE, which is the same that I've built from.

      The wizard says the path is correct:

      f88ea16f-fed7-4295-b3f0-cc3987093225-image.png

      This step is incorrect, though:

      15c5daa6-0d55-456a-a7e6-a372800a23b5-image.png

      But when I click "Next" it gives this error. There's no place I can click to fix it:

      608a8d97-8ec4-466e-83f0-2d05b475a21b-image.png

      What else should I do besides building HISE from the source code?
      Is there a recommended commit?

      posted in Newbie League
      D
      daniloprates
    • RE: Velocity not working

      @d-healey great, thanks!

      posted in Newbie League
      D
      daniloprates
    • Velocity not working

      Newbie question: I have these six samples, with 2 velocities. However, the sound doesn't respond to the velocity, it has the same volume for the first dynamic, then the same volume for the second one, regardless of the velocity.

      Am I doing something wrong? Is there a place I can activate it?

      5c04d3ff-bd61-4075-a8ef-46db427c0966-image.png

      posted in Newbie League
      D
      daniloprates
    • RE: Can't find the Routing Matrix icon

      @daniloprates great, thanks David!

      posted in Scripting
      D
      daniloprates
    • Can't find the Routing Matrix icon

      Hey guys, noob question, but I just can't seem to find the Routing Matrix icon.

      941836b8-8964-4f8d-8adf-5da9a2f9a9b4-image.png

      Is there any extra component that I should add in order to enable it?

      posted in Scripting
      D
      daniloprates
    • RE: setControlCallback() - "Control Callback function must be an inline function" Error

      Yes, this was done by ChatGPT πŸ˜… I tried to reply the post with this warning, but I didn't have the rights, as a new user.

      Thanks David!

      posted in Scripting
      D
      daniloprates
    • setControlCallback() - "Control Callback function must be an inline function" Error

      setControlCallback() - "Control Callback function must be an inline function" Error

      πŸ›  Problem

      I'm developing a custom knob UI in HISE that draws a blob shape.
      I want to click a button to regenerate the blob (change its randomness),
      but I keep getting this error:

      Control Callback function must be an inline function
      

      I've tried:

      • βœ… Making sure the function inside setControlCallback() is completely inline
      • βœ… Avoiding external global variables inside setControlCallback()
      • βœ… Using setAttribute() to store and retrieve blob data within the knob component
      • βœ… Calling Content.repaint(); after updating values

      None of these approaches work. The error persists.


      πŸ”§ What I'm Trying to Achieve

      1. I have a custom knob UI that draws a blob shape.
      2. I want to click a button to regenerate the blob shape (change its randomness).
      3. The knob should NOT update the blob shapeβ€”only the button should trigger the change.

      ❌ What’s Failing

      Even when using a fully inline function like this:

      btn.setControlCallback(function(component, value) {
          if (value) {
              Console.print("Blob Clicked! Generating new shape.");
              
              // Try storing data inside the knob to update later
              var knobComponent = Content.getComponent("knob1");
              knobComponent.setAttribute("blobData", generateBlob(9, 0.35, 0.1));
      
              Content.repaint(); // UI refresh
          }
      });
      

      I still get the error.


      ❓ Questions for the Community

      1. What EXACTLY does HISE require to make an inline function "valid" inside setControlCallback()?
      2. What is the best way to store dynamically changing data in a knob component?
      3. Is there a different approach that avoids this error entirely?

      I’d appreciate any insights. Thanks! πŸ™

      posted in Scripting
      D
      daniloprates