HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. ustk
    3. Posts
    • Profile
    • Following 0
    • Followers 13
    • Topics 389
    • Posts 5,331
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @Christoph-Hart Do you think making the table to be working with any kind of custom spline (using a custom object) can be a serious request?
      Since there are many type of spline behaviour out there...

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @Christoph-Hart I am making a cubic B-spline so a quadratic is somewhat underwhelming lol 😆

      But that would be so much easier

      posted in General Questions
      ustkU
      ustk
    • RE: FORUM Gassed??

      @Dominik-Mayer Yeah seeing this again a few times a day, though it often quickly disappears with a refresh...

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @Christoph-Hart said in Monitor changes inside Scriptfx - the correct method? (broadcasters listeners):

      @ustk ah ok, I was just underwhelmed by the data you send over the cable in your example (a single gain number lol)

      Yeah you make me feel padawan like, which I probably am lol.

      but I have no idea what you're doing in the real world.

      I'm wondering the same thing every single day, until I'm uploaded to the cloud...

      More seriously, I draw a spline in the interface, and send the control points to the node in order to reconstruct the wave shaper in a buffer...
      Sounds the right approach or did I spend a week luring myself?

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @griffinboy oh that's what I was thinking, @Christoph-Hart's shortcut needed a sequel 😆

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @Christoph-Hart hmmm... have to look at this ! I made it to work UI -> global cable -> node, but I'll try with standard parameter to send an array of JSON

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @griffinboy Cool I got it to compile with the callback! ☺
      Now it's a matter of properly reading the JSON I am sending... -> Working

      UI code:

      const var RoutingManager = Engine.getGlobalRoutingManager();
      const var DataCable = RoutingManager.getCable("dataCable");
      
      const var data = {level: 0.0};
      
      
      inline function onKnob1Control(component, value)
      {
      	data.level = value;
      	
      	DataCable.sendData(data);
      };
      

      C++

          global_cable_data()
          {
              // Register a data callback for the global cable
              this->registerDataCallback<GlobalCables::dataCable>([this](const var& data)
              {
                  if (auto* obj = data.getDynamicObject())
                  {
                      const var& levelVar = obj->getProperty("level");
      
                      //if (levelVar.isDouble() || levelVar.isInt())
                      //{
                          gain = static_cast<float>(static_cast<double>(levelVar));
                      //}
                  }
              });
          }
      

      This doesn't seem to update gain

      EDIT: my bad... wasn't listening on the right set of speakers lol 🤣 WORKING LKE A CHARM!!!
      Thanks a lot @griffinboy !

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @griffinboy I tried many keywords already with no luck...

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @griffinboy Yeah cable is what I am trying to use, I need to receive JSON data from UI.

      Thanks for your template code it's awesome! Well... when I'll be able to make it work lol

      posted in General Questions
      ustkU
      ustk
    • RE: Monitor changes inside Scriptfx - the correct method? (broadcasters listeners)

      @griffinboy @Christoph-Hart What is the way to send the value to the node from the UI?
      Is there a callback that should be defined?

      posted in General Questions
      ustkU
      ustk
    • RE: The Audio Market Over the Next 10 Years

      Yeah as @d-healey says the audio pro industry is wide and DSP are everywhere from automotive the adaptive sound systems for venues and so on. I also think the plugin world will change in the future in the manner we are interacting with, and more AI/DSP research leads to the necessity of getting more and more specialised with tools that might not be simple to use for the "simple man". Of course the implementation of some tools is made easy sometimes, but then the top notch systems will always be ahead, broader, and more complex. And with complexity arises computation power and compatibility issues. I am happy to see many great tools arriving but afraid at the same time, not being able to catch up compared to specialised folks.
      In fact if I agree the market will grow, it might be for more engineered DAWs and tools integrating tech that I can't compete with for myself (like DAWs doing almost everything in the box, very "intelligent" plugins, automatic mixing tools, and other funky sweeteners...) while I am still struggling with basic DSP theory like I'm stuck in the 90s...
      But I might be off-topic lol

      posted in Blog Entries
      ustkU
      ustk
    • RE: Roadmap to HISE 5

      @Christoph-Hart @Orvillain Yeah I did read and pasted here the crash report. Unfortunately I can't reproduce the issue so I can't slap a debugger. Will try more...

      Unfortunately when I publish a new version the users need to resync their full library in LogicPro in order to get the plugin to update to the new version, so I can't ask them to do it 10x per day...
      This is another issue, as I don't think people have to do this each time they update a single plugin (and one of the customers has more than 1000 plugins...). It's like no matter what you do with the version number, Logic doesn't take it as a new version. But I'm no Logic user so, who knows...

      posted in General Questions
      ustkU
      ustk
    • RE: Roadmap to HISE 5

      @clevername27 said in Roadmap to HISE 5:

      @Christoph-Hart Meanwhile, I was fired by all three clients because of HISE bugs and secret ScriptNode documentation. sigh

      Same... I have one that is crashing some customer hosts and I can't seems to find why. simple stuff, no modulation inside, just scriptnode, faust and third party C++. Hopefully this will be fixed one day, but without a proper investigation chances are very thin...

      Don't want to troll the thread that been said! But might worth to speak about that again during the meetup ☺

      posted in General Questions
      ustkU
      ustk
    • RE: ExternalData SliderPack seems to be limited to 128

      @Christoph-Hart I wondered about using an audiofile as well, seems a nice solution especially if I am creating the curve in the script interface.

      But a global cable seems promising too, I need to wrap my head around the data type it can send. Just sending the control points and creating the curve in C++ node is surely a more efficient solution...

      posted in C++ Development
      ustkU
      ustk
    • RE: ExternalData SliderPack seems to be limited to 128

      @Christoph-Hart Any news on this ExternalData SliderPack size limitation?

      Side question, is this the best way to send a shaper curve to third party C++? Or is there another data object I can use to directly send an array of values?

      I am also thinking about directly sending the curve control points to C++ and compute the curve there instead of interface script. But then how do I send the points? external table?

      posted in C++ Development
      ustkU
      ustk
    • RE: HISE + PluginDoctor = OP

      @Adam_G you need to load metaplugin first in PD, then load hise in metaplugin

      posted in General Questions
      ustkU
      ustk
    • RE: Sticky knobs

      @pcs800 So your knob needs to have 20-20000 for min-max with a stepSize of 1.

      The error message you get is probably because the knob isn't declared in the script. But anyway, it shouldn't show a "steppy" behaviour with the above settings, unless something else is wrong...

      posted in General Questions
      ustkU
      ustk
    • RE: Sticky knobs

      @pcs800 what are your min & max? because a 0 to 1 knob with the finest stepsize from the drop down still shows some sticky behaviour (a hundred point is not enough)

      So you can either make the knob 0 to 100 and divide the value where you need it, or simply set a finer stepSize with MyKnob.set("stepSize", 0.001)

      I think having this resolution in the dropdown could be useful for everyone, I'll check if I can add it and make a pull-request...

      posted in General Questions
      ustkU
      ustk
    • RE: Chord Player Inversions || Help with Indexing!

      @Chazrox because in the first line you explicitly force it to be 12, so in the end it never changes
      and in the second line it's the old value + 12. So next time the old value will be the new one, +12… this is an incrementation.

      posted in Scripting
      ustkU
      ustk
    • RE: ARRAY || Get index value??

      @d-healey said in ARRAY || Get index value??:

      Looks like Greg got there first :)

      true, but with no comparable answer 😉

      posted in General Questions
      ustkU
      ustk