Forum
    • Categories
    • Register
    • Login
    1. Home
    2. ustk
    3. Posts
    • Profile
    • Following 0
    • Followers 15
    • Topics 471
    • Posts 6,032
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: ScriptNode - DC. Offset

      @Jeetender Hmmm... I'm might be wrong but I'm not so sure about this. You can surely set a parameter to any value below 20Hz, but I'm not sure the filter is capable of reaching this value. To me it's capped to 20Hz-20kHz no matter the range of your parameters.

      posted in General Questions
      ustkU
      ustk
    • RE: Matrix modulation connection is broken in exported plugin

      @Oli-Ullmann Thanks a lot for the detailed explanation!

      This confirms what I see, so the main difference is that you load your hardcoded DLLs dynamically.
      I doubt the setAttribute is the origin of the problem because when I force the DLL it then works.
      I need sample accuracy so the targetId is what I want.

      Now, when you say "I load the HardcodedFX dynamically via script", do you mean once at init or on preset load CB? (or other behaviour to swap them on the fly)

      posted in Bug Reports
      ustkU
      ustk
    • RE: Matrix modulation connection is broken in exported plugin

      @Oli-Ullmann @Christoph-Hart Alright I got something!

      When setting the hardcoded DLL to "" then back to the original one, the connection is made.
      So why it's not connecting at init I don't know...

      @Oli-Ullmann Do you set your networks/DLL from script or are they just set in the module tree like I do?

      Perhaps I should also add those module states to the presets?

      posted in Bug Reports
      ustkU
      ustk
    • RE: Matrix modulation connection is broken in exported plugin

      @Oli-Ullmann Mmmm... I have them all already...

      Do you mean you actually have an FX plugin working with the matrix modulation system? (extra_mod nodes, UI matrixTargetId, etc...)

      posted in Bug Reports
      ustkU
      ustk
    • RE: Matrix modulation connection is broken in exported plugin

      @Oli-Ullmann So in the end it's not this. I have it noted in my project check list like so:

      /*
      In the case the modulation is deleted when loading a DAW project, do this:
      Engine.addModuleStateToUserPreset("Global Modulator Container");
      https://forum.hise.audio/topic/14137/modulation-is-deleted-when-loading-a-daw-project/5
      */
      

      Thanks anyway!

      posted in Bug Reports
      ustkU
      ustk
    • RE: Matrix modulation connection is broken in exported plugin

      @Oli-Ullmann I have seen this! Testing...

      @Christoph-Hart Yes

      posted in Bug Reports
      ustkU
      ustk
    • Matrix modulation connection is broken in exported plugin

      So I have:

      • UI sliders connected to Matrix Modulators via matrixTargetId
      • networks using extra_mod nodes and ExternalModulation for their parameters
      • and of course because it is necessary, a Global Modulation Container.

      Everything works fine within Hise.

      But once exported, the sound does not change, neither from UI sliders nor from preset load.

      • I tried to connect the UI sliders to the Value parameter of the Matrix Modulator for direct control, but it does not help.
      • The same issue applies for interpreted networks (ScriptFX) and compiled DLL (hardcoded master FX)

      so the connection is broken somewhere in exported plugin, but AI seems to be lost with it...

      Should anything be taken care of in the script? Like a connection initialisation of some sort?

      posted in Bug Reports
      ustkU
      ustk
    • The source code has different commit hash...

      Now I'm getting this when trying to export my plugin... I just rebuilt Hise and I assure you the branch has not changed between the built and the current state...
      Getting so, so many bugs these days, it's so frustrating spending most of the time trying to get Hise, the DLLs, and everything just working, that development of the plugin itself just became a side job...

      posted in General Questions
      ustkU
      ustk
    • RE: Peak-based Action

      @VorosMusic Here's a snippet that demonstrates how to handle the detection and integration part in the DSP.
      Notice that the callback only fires when the value changes from peak (value==1) to clean (value==0) and vice-versa, with no extra firing in between (that's not entirely true as it fires sometimes but this might be due to the AsyncNotification not being fast enough when the changes are erratic like in this example)

      HiseSnippet 2117.3oc6Y0DaijTEt63TdF6YfcWsgENrG5YDG7.iL1IYlLqVwDm33Dh1IYLwdyBmhJ2cY6RtcU81c4Lwf1Sb.twYPBI3NGPbCIPLmQZ3Nm3D2yo85xqppa6tcamI1IY2cP3QZRWU8dc89468SWUcetMIHf6aXlu4POhg4cQMFxDcq1ESYF6uig4Jn8b4svtUwsbI0NC22ykXr8PObP.wwvzLydRJMysrg524atM1EyrIimxv3XN0l7LZepX7rdU9Hpq6tXGRSZ+XTudk8s4rpbW9.PpxfJY3gs6g6PNDKIaIjwOBGz0v76gVi37AOoLYiG2pzFqtZI6MHOlr9ZNsdhy5kINqSvq8AO5QjMV0vLaMGpf62PfEj.3ktM2YXit7Wvzavwz.JnbxAkMZ.6rdZipcotN0iLQAF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OU202IrcXKY.f0Uws8kJJ6Z3R3t1k2upuPt7QYTqNv+TRsO0HriZcRZe5mZU6GmrN5f96RcUouCuzoswpajRaz9i+f+yeWNQ4QVw2dPE4DqlLSKyYsImX83F9c2sYMlrFsV2y7lz8t8+J6QersO+jvuiQBbtsZFv1xBOs3CjisJab5jsszGJzbhscxWUJFWcQYbsEkw0WTFezhx3iWTF2XQY7IudFk8AD1tlLMHzlY8Z5CXwLVTmw+Ebk3BYI
      
      posted in Scripting
      ustkU
      ustk
    • RE: Peak-based Action

      @VorosMusic I would go for a global_cable instead of a timer so the callback only fires when the value changed.
      Even better, it allows you to place the logic on the DSP side so the script callback we really just fire when necessary.

      That been said this is still a lightweight job for the script, but when I can prevent a timer for running all the time, I do…

      posted in Scripting
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @David-Healey Here it is

      HiseSnippet 1379.3oc2W8taaaCDmxwro1qCXEaeZn.SezYnHvN+OYeXMI1oyXyIF0oACXnHfVhNlHRjBjTIwanui6YXOA6MX6nnrkbrcrZPawvTBRD4cGue7Nd+3otRgGUoDRjS0yGEQQNOC2aDWO73gDFG0tILO9bpRe9PhFcznHhRQ8QNNq7ZibmJkQIO+8OdDIfv8nYSgPWHXdzegExzYy18U+LKH3DhO8bVXNs25Us8D7iEAhX.KqfqihHdWSthdJwnVIL5mHpgHmuGuI0e+8ZP2cm902ciMp6sKcG5Va52eO+sZP82hR1b+s2lt6FHmmzxmoExdZhlpPNkOR3Op2PwsbqCtfoX8CnlAMP8.Oam9DQfuYKZlEc7PVfe2wAIEB4f6lExVwFx9FbGlOax7YgtuJQfalE4CfNklFdqLE7ZjGd0yAu4.ImbPprEROG2ySxhzYRL34Kvs4Zpb.AxS4ghUWTo2VFer.zfqWOjbM8DILXhE01od8W5B+YsenZwdFDy8zLA2UvOUnomwqsV0+nZE1.2ZMacwkcNqYq0pVAloh5Vl1anasN.Vgb95WQ0FKNMNrOUVaMPqD0p3QTT2M24fJ539z17nX8qIAAT4niz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Pxf+AdRE1vL1IUXiwBQ1E2l+9r3vPCSxkdVhcygrmlLCDD3IU2UrbMtMP2XOfkkXCglLtzya5kZFC23wZ3lOVC25wZ31OVC24wZ3tOVC2a4FZ5ALkuzTmB2b0sUxAKGmVbK6ETdf9Wn6hrpD
      

      Screenshot 2026-04-25 at 00.59.27.png

      AI fixed it by adding a samplerate > 0 safety. This is confirmed working in main project, bt the same assertion fired this time for master FXs. So I have made the same exact safety and all is good (for this assertion at least...)

      Now a new one with MPE connection... Not done yet but at least I progressed!

      posted in Bug Reports
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @David-Healey Oh wait! Me saying this and instantly I could reproduce it with a single module! A Script Time Variant Modulator (in the Global Modulator Container) with just a Math.add node is triggering the assertion.

      posted in Bug Reports
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @David-Healey Thanks Dave. I afraid I can’t. There seems to be other assertions popping out if I try to either remove elements from main project, or import them into a new one.

      The project is quite complex and it’s hard to isolate one element to reproduce the issue in a minimal snippet (as I said, either by trimming down main project or creating a minimal one)

      I know assertions can be stepped over to see the behaviour by carrying on the program execution but the plugin eventually crashes anyway

      posted in Bug Reports
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @Christoph-Hart Alright so I'm working on this bug for days without making any significant step... Using Claude all along to help, but it doesn't really help... Once saying it's definitely not in the HardcodedFX but in the GlobalModulators, then the exact opposite.
      Trying to track the bug down manually is beyond my skills.

      As I said, the plugin compiles fine, it's at runtime that it crashes because of a samplerate set to -1. It doesn't seem to come from my scripts or modules, but more from Hise itself (at least for what I can see)

      This is the final stage before plugin release so I definitely need help because I can't go further by myself...

      @Christoph-Hart do you think I can send the project to you?

      posted in Bug Reports
      ustkU
      ustk
    • RE: ScriptNode - DC. Offset

      @Jeetender Hise HPFs don't go below 20Hz (unless I'm wrong, even if you set the parameter to 5Hz)

      But I agree anywhere in the 5-10Hz range is better (the lower you go, the longer the delay response so it's not alway good to go below that, depends on your design)
      So if you want to go below 20Hz, you need to wrap your own C++ custom filter (or Faust or other maybe?)

      posted in General Questions
      ustkU
      ustk
    • RE: ScriptNode - DC. Offset

      @Jeetender Then your problem might be somewhere else. By definition the DC at the output of any HPF is -inf.
      It's right that it can bring artefacts in some cases that are essentially due to its response time, but it definitely kill DC.

      posted in General Questions
      ustkU
      ustk
    • RE: ScriptNode - DC. Offset

      @Jeetender Not quite, more the opposite in fact since in rescales a -1 to 1 audio signal to a 0 to 1 modulation signal.

      To remove DC offset you need a HPF

      posted in General Questions
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @Christoph-Hart Thanks, yest that's the first thing I checked...

      I re-created another minimal snippet from a new project (the previous one was the main project that I stripped down until having nothing, so I might have carried on a problematic setting of some sort.

      This new one (identical snippet with just a simple ScriptFX) works and runs fine. I did copied the preprocessors from main project and that minimal snippet it's still working. So there might be a setting or a corrupted file. I remove the Binary folder entirely at each iteration to be sure it's clean.

      I'll try a diff between the two "identical" minimal snippets to see why one is not working...

      posted in Bug Reports
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      A little update. The issue is not related to an envelope modulator per say. This very minimal snippet shows the same issue as soon as I have a basic ScriptFX.

      • Hise is compiled from today's last commit
      • JUCE 6 branch selected (but XCode says it's JUCE 8 that is somehow complaining...)

      Could anybody build and run a debug to see if it fails or if it's my config? That JUCE 8 showing feels weird to me...

      HiseSnippet 1205.3ocuW01SiaDDdc.ebN8pTOo9CHeLTgPwg.AnenG4sqQsAhtjK5jppParmPVE6cs7tFHs59d+41+AsyZ6fcfDHWT6YPPl214YmcmmwoenvAjRQHwn3v4A.w3MlClyUSaNkx3jtsP8lCAoZ3TphzXd.UJAWhgwNuWa2vZWR7ye+SMndTtCjohPFIXNvux7YpLs8e2uv775PcggL+bdW6cccD7lBOQDhkcLqPBnNyn2.WR0tUvj7yT4ThwOXdD3d1o1P8SFWod0pUbpCm.0Nxc7ot0rA2Z.8nyN9XndUhwqZ6xThvAJpBjDicaHbmOXp3NdRBFw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Q5URe.0id+Cx1nrFU6YlnZICsfIzHO0R5H4HgQgbIcIKwcvZIjepPRwtqbj1pC0aQVvy5FBwLeZ7srsiu+qQOgO0ITbsSRatdy85XM3YDO9.xxrmVtjM41jMVFirO90Gt1wY4k5IAVcaC7nsMvZaafGusAdx1FX8sMvSe4.0e6tKhTB+DlJj4oe63KgFFs4TjUNdjB4eAj7iQMM
      
      posted in Bug Reports
      ustkU
      ustk
    • RE: Runtime assertion of exported FX plugin

      @David-Healey A minimal (blank) project works.
      I'll try a minimal that uses the envelope as well and report

      posted in Bug Reports
      ustkU
      ustk