HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. daniloprates
    3. Posts
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 18
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Dynamically choosing the Send Container on a Send Effect

      @d-healey worked like a charm. Many thanks!

      posted in Newbie League
      D
      daniloprates
    • RE: Dynamically choosing the Send Container on a Send Effect

      @d-healey said in Dynamically choosing the Send Container on a Send Effect:

      @daniloprates They can change the channel. 1/2 = the first effect, 3/4 = the second effect, etc.

      @d-healey changing the Send Effect channel didn't filter the effect in the container. Do I need to add/change anything else for that to work?

      posted in Newbie League
      D
      daniloprates
    • RE: Dynamically choosing the Send Container on a Send Effect

      @d-healey well, how would the user choose which effect to use, then?

      posted in Newbie League
      D
      daniloprates
    • RE: Dynamically choosing the Send Container on a Send Effect

      @Christoph-Hart thanks!

      posted in Newbie League
      D
      daniloprates
    • Dynamically choosing the Send Container on a Send Effect

      I have a couple of Send Containers and some Samplers with 2 Send Effect each. I'd like the user to choose which 2 effects they're going to use in each sends of each Sampler.

      E.g.

      Send Containers

      • Delay
      • Reverb
      • Saturation
      • Compressor

      Samplers

      Sampler 1

      • Send 1: Delay
      • Send 2: Reverb

      Sampler 2

      • Send 1: Reverb
      • Send 2: Saturation

      Sampler 3

      • Send 1: Saturation
      • Send 2: Compressor

      For that, I'd have to dynamically choose which Send Container to send each Send Effect:

      153e04f1-3bec-4c5e-b853-5a977f4c7edc-image.png

      Is that possible?

      Send Effect1: (SendFX) - Parameter dump: 
      	[0]: "Gain" | -100.00
      	[1]: "ChannelOffset" | 0.00
      	[2]: "SendIndex" | 2.00
      	[3]: "Smoothing" | 1.00
      

      I can't see an option in the parameter dump, but I've seen parameters not being listed here, so hopeโ€™s not dead yet

      posted in Newbie League
      D
      daniloprates
    • RE: Multi-timbral plugin

      Is there any news about this? I'm thinking of an instrument here that could benefit from this capability

      690844b7-edd9-4a43-a68b-8818abf7507e-image.png

      posted in General Questions
      D
      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
    • RE: LAF how to customize any object?

      Great, thanks a lot, guys!

      posted in Scripting
      D
      daniloprates
    • LAF how to customize any object?

      Hey there,

      First of all, I'm new here and am loving the community and collective effort.

      I'm trying to understand LAF, but couldn't find an easy way to find which registerFunction fn to use for each UI component. For instance, I'm trying to modify the laf of a panel, but couldn't find a laf.registerFunction("drawPanel", fn);.

      Is there a way to modify a component without using a registerFunction?

      Thanks in advance.

      posted in Scripting
      D
      daniloprates