• Latest version of HISE breaks existing presets....

    General Questions
    74
    0 Votes
    74 Posts
    9k Views
    LindonL

    @dannytaurus said in Latest version of HISE breaks existing presets....:

    @Christoph-Hart Here's what 'my' Claude says:

    The pattern so far

    Since a92a701de (the unified automation base class), every automation actor - host parameter, macro, MIDI automation, UI widget, script, preset restore - is both a reader and a writer of shared values, connected through the dispatch library. The regressions since then have all been the same bug wearing different hats: a listener can't tell an echo of its own write from a real change, so it feeds the value back around the loop. Each fix so far suppresses one specific edge:

    633626eeb - gate refreshParameterValue() on enablePluginParameterUpdate, and switch MIDI automation's setAttribute from async to sync notification e1fb54695 - carve the backend macro-to-parameter-slot routing out behind HISE_MACROS_ARE_PLUGIN_PARAMETERS

    Alongside the pre-existing guards (recursive, sendToHost per parameter, deferNotifyHostFlag, the exclusive-mode conditionals in loadUserPresetInternal()), that's now seven or so overlapping mechanisms all answering the same question by inference: "is this change an echo?"

    Why I think flags can't fully close this

    Two structural limits:

    The global flag suppresses the wrong scope. enablePluginParameterUpdate is one boolean for all parameters. While parameter A's update is dispatching (flag false), a legitimate concurrent change to parameter B hits the early return in refreshParameterValue() and is silently dropped -the internal value updates but the host never hears it. I suspect this is exactly the DAW-project-vs-internal-preset drift you were hypothesizing about at the end of the thread. The guard isn't just failing to fix that bug, it's a source of it. Scoped guards can't survive deferred dispatch. A ScopedValueSetter protects a call stack, but this system defers across threads by design. By the time an async-queued listener runs, the guard is long restored and the echo sails through. That's why 633626eeb had to change MIDI automation to sync notification - to drag the callback inside the guard's scope. Changing threading semantics to make a boolean reachable feels like the approach hitting its ceiling.

    Proposal: make provenance explicit

    The class structure from the rewrite is good - I'd keep all of it. The change is to what a notification is: value plus origin, instead of value alone.

    Add a small source token (Host, Macro, MidiAutomation, UI, Script, PresetRestore) to SlotSender::sendChangeMessage() and the listener callbacks, threaded through CustomAutomationData::call(). Because the token travels with the queued message, it survives deferral and thread hops - the thing no scoped flag can do. Each writer passes its own token and ignores incoming messages carrying it. MacroPluginParameter::setValue() writes as Host and skips Host-tagged notifications; same pattern in HisePluginParameterBase, MidiControllerAutomationHandler, CustomAutomationParameter. recursive, sendToHost and the global enablePluginParameterUpdate then become deletable. (deferNotifyHostFlag can stay - batching host notifications is an optimization, not a correctness guard.) Preset restore becomes a first-class source: "macros must not clobber freshly restored widget values" becomes a one-line filter rule instead of an ordering convention plus exclusive-mode conditionals, and the MIDI sync/async choice stops mattering for correctness.

    For precedent: JUCE's own ParameterAttachment solves the identical loop the same way - each attachment filters its own echoes at the attachment point.

    Hmm, I must give this Claude malarky a bit of a go......

  • Custom peak meter doesn't work in a DAW

    General Questions
    10
    0 Votes
    10 Posts
    429 Views
    David HealeyD

    @Kalliopei why not use a peak meter floating tile instead of a panel?

  • Audio Waveform/Convolution - Knob for Range

    Scripting
    2
    0 Votes
    2 Posts
    183 Views
    ulrikU

    @svkpowa

    HiseSnippet 2507.3oc2Yz0aabb7NKcolzwINAoEsus3PPAUjDIOY4OZbsMknjhYsjEgnhcLTDbVd2RxE53sr2cjRBIFv8kh9yx+DBP+Ez+A4k9r6L6dGu8DonkUabaJg+f678L6ryL6xlgBWVTjHzvr39mNfYX9gVsNMHtW8dTdfQiMLLutUcQvHg+vXtHvX8SGPihXdFlly8UHIlEl2P94md35TeZfKKCjgwSEbW117973LnMq8Xtu+VTO1979ZTuZsFthf5BewPvblyppw.p6QztrmPQxthkwinQ8LL+BKWuUcW081sW0gR6bGm12l09tN2wgcW2a48Gbcot2psqyMuI0v7C1ziGKBaESiYQFlyutv6zV8DGGnTvS4Q719LbgiQKPyJvaI78PWDgZTuG22qYZbJxvvzpYVTaNUT6yr1g6wGCOK5cCIBRFG5APyqj27lKm44nadU0LuoXRlZlz7JS5SrZ4FxGDmgAsmqY0HHlE1gB6S5lhhViq7Oja2wrf3x8oGw1JDVLliR2tZ0kHv+rv8JVD1qhhIM1ibehLiobWV7ZC83hVz9C7YiUaI6F6YCLnn+YzQrsDg8AtR0CvWcQ+Ah.XQI6TBryzwHZHABQgwMC7OW9RI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0MDG5e+d3870kWSXjTlOMmNdDutlL9a+8Za.WXCtwuNMas09IEoS.8Y0v1Bpma9m0VLxy3pdKIUAv1J9Bwfb8cP.ZscLm6Bug6L67M0rLcggvB4n5exv9sfpStL7Q0f5kQRUh8uUqqpJTYXzhE3IW.EwdSBRGbsYBRmTj54zejJLeMqVv.TxGKVlQ8ajqkOIL4qvmwAOQ5Liehge7h9SLL3B+SLrKb+wQr8gN7QCDQ4DbKVe99Pk2HcfPNwVgr+7dXIBc30E3UqlBpe5gaAN4T4oEMdXnrVyZ8gL63b0VlaV+xENWxe4h4+ete4heAzAIW4wBo1XK4g5MCFw7gQ+j13mBy50gNzONEZ9b4cDAhA8DAbW8M58XvYvtcYg519Tcn0vGN8H8pU6w7YT8j1Ou11PxFMDhSrKYrv4c9GZZp6W+VKk4RvCfje414et+uty+6kFAuOzQepan3EtpqXh4oWUBA76.Y27BV6fqINSdix9PUtW35lWTSv3JWVFu4kkwUurLdqKKi29xx3ctrLd22NiXSn0FFK5qNZZXrSyMkW91zby.7dHxSDF+KfGvTIE

    convolution.gif

  • 0 Votes
    7 Posts
    405 Views
    lalalandsynthL

    @dannytaurus Yes, I have concerns , but its absolutely amazing for doing dynamic graphics.

  • Need help for Export on Mac

    General Questions
    5
    0 Votes
    5 Posts
    372 Views
    K

    @LUIS29

    I can give the mac compiling a go and try if it compiles ok.
    No guarantees. You need to codesign it afterwards thou on every mac machine it is running.
    it's not too hard, just running some code through terminal on mac.

  • 1 Votes
    12 Posts
    777 Views
  • 9 Votes
    3 Posts
    676 Views
    observantsoundO

    @CyberGen I was just going to make a similar post.
    My main wish is to make the right click option "Fold All" assignable as a shortcut.
    Many of the other right click options are there already.

  • How do I add gain?

    ScriptNode
    4
    0 Votes
    4 Posts
    479 Views
    Oli UllmannO

    @Kalliopei
    I think you can simply set the MaxValue for the gain to 24.0 in your network's XML file. Use a text editor to do this. Then it should work.

  • Hise general and compiler settings not saving

    General Questions
    11
    0 Votes
    11 Posts
    1k Views
    K

    @Christoph-Hart
    Yes, you're quite right, that probably is the real cause.
    Still a bit weird, since an older install worked as should.
    Although it was the one with an .pkg, or was it .dmg, installer from the website,
    so that might have to do with it as well.
    And as the admin and the sole user of the machine, the writing rights should've been ok.

  • "An error again :("

    General Questions
    2
    0 Votes
    2 Posts
    163 Views
    David HealeyD

    You just need to run a command to tell the system where xcode is.

    Make sure your xcode app is in /Applications (not the user folder, the system one). Then run the command

    sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  • Flex Ahdsr laf improvements

    General Questions
    1
    5 Votes
    1 Posts
    104 Views
    No one has replied
  • Flex Envelope Visual Bug

    Bug Reports
    1
    0 Votes
    1 Posts
    97 Views
    No one has replied
  • where do I find the 4.9.2 hise version?

    General Questions
    13
    0 Votes
    13 Posts
    536 Views
    C

    @Christoph-Hart haha thanks man! i dont know what to say. im too new at this stuff, its all hieroglyphes for me.

  • Oriental Drummer

    General Questions
    10
    4 Votes
    10 Posts
    2k Views
    A

    @combamusic Thank you!

  • Global Cables Don't Work when compiled

    Solved Bug Reports
    32
    2 Votes
    32 Posts
    10k Views
    ustkU

    @Christoph-Hart Nice one! It seems to work but I can't fully confirm at the moment because something in my network makes a hard crash as soon it loads in a HCFX...
    But it is definitely not the C++ node and compiling it with a fresh network removes the global cable not found warning 👍

  • getChildComponents returns all descendents

    Bug Reports
    11
    1 Votes
    11 Posts
    447 Views
  • Windows 11: Error building standalone app

    Newbie League
    2
    0 Votes
    2 Posts
    161 Views
    M

    Fixed thanks to Google AI Mode which told me how to switch to the v143 toolset.

  • 0 Votes
    2 Posts
    174 Views
    David HealeyD

    @ospfeigrp You can draw that kind of thing using look and feel or paint routines, you'll need to get familiar with drawing arcs.

  • Range slider fix

    C++ Development
    1
    5 Votes
    1 Posts
    91 Views
    No one has replied
  • [BLOG] How does DSP work? [Part 3]

    C++ Development
    2
    9 Votes
    2 Posts
    213 Views
    I

    WebDesk is one of the leading providers of HR Software in Pakistan, offering complete HR management, payroll processing, attendance tracking, leave management, recruitment management, and employee self-service solutions. The platform helps businesses automate daily HR operations, improve efficiency, and streamline workforce management.