• Icon Fonts - Syntax error in unicode escape sequence

    Solved
    15
    0 Votes
    15 Posts
    412 Views
    David HealeyD

    Following from Dan's suggestion I had Claude take a look and it extended String.fromCharCode to support hex strings in addition to integers. This has solved the issue.

    PR

  • drawFittedText has gone for a walk?

    3
    0 Votes
    3 Posts
    69 Views
    Christoph HartC

    haha actually that was one of the few lines of code that I wrote myself - I was testing out some new logic that catches deprecations but somehow I deleted that line.

    Funnily the documentation pipeline that I'm currently running over the entire codebase to recreate the API docs flagged this as an issue:

    Missing registration: drawFittedText has a wrapper (API_VOID_METHOD_WRAPPER_5) and full implementation but does NOT appear in the constructor's ADD_API_METHOD calls. It is present in the base JSON, meaning the Doxygen-based generator picks it up from the header declaration. Whether it is actually accessible at runtime is uncertain -- it may be silently unavailable if the ADD_API_METHOD is required for the scripting engine to find the method.

    But it then got lost in the noise - I have a system that populates a list of bugs / small issues that the doc generator discovers while chewing through the code, but here it didn't appear too:

    https://github.com/christoph-hart/hise_api_generator/blob/main/enrichment/issues.md

  • It´s possible to change Popup Data in execution time?

    11
    0 Votes
    11 Posts
    107 Views
    jadgJ

    @ustk Thank you very much. i,ve created a similar solution a few hours ago. I don´t use Broadcaster just the proper scriptSlider callback ,a "InlineStyleSheet" for the valuePopup Label and a Timer:

    Content.makeFrontInterface(400, 200 ); const var Label1 = Content.getComponent("Label1"); const var lblCss = Content.createLocalLookAndFeel(); Label1.set("text", "ValuePopup"); const var valuePopupTimer=Engine.createTimerObject(); valuePopupTimer.setTimerCallback(function(){ Label1.set("visible", false) ; valuePopupTimer.stopTimer(); }); // Label Laf lblCss.setInlineStyleSheet(" * { letter-spacing: 1px; font-weight: bold; font-size: 12; } /** Render the default appearance. */ label { background-color: var(--bgColour); color: var(--textColour); border-radius: 5px; border-size: 1px text-align: centred; text-shadow: 2px 2px 5px rgba(0,0,0,0.6); } /** If you edit the text, it will use this selector. */ input { text-align: left; padding-top: 0.5px; padding-left: 50px; padding-right: 20px; caret-color: white; font-weight: bold; } /** Style the text selection with this selector. */ ::selection { background: #50FFFFFF; color: white; } "); Label1.setLocalLookAndFeel(lblCss); inline function onKnob1Control(component, value) { Label1.set("visible",true); Label1.set("text", Engine.doubleToString(component.getValue(), 1) +" "+ component.get("suffix")); Label1.set("width", Engine.getStringWidth(Label1.get("text"),Label1.get("fontName"), Label1.get("fontSize"), 0.15)); Label1.set("x",component.get("x")-(Label1.get("width")/2)+(component.get("width")/2)); Label1.set("y",component.get("y")-20); valuePopupTimer.startTimer(1100); }; Content.getComponent("Knob1").setControlCallback(onKnob1Control); Content.getComponent("Knob2").setControlCallback(onKnob1Control);

    Probably the best solution is a combination of yours and mine. Thank you very much again.

    ezgif-4b86ba577ac754d8.gif

  • Looping DAW Misreads Last Grid Change

    Unsolved
    1
    0 Votes
    1 Posts
    33 Views
    No one has replied
  • writeAudioFile help

    3
    0 Votes
    3 Posts
    58 Views
    ustkU

    @pcs800 Or an array of buffers for stero/multichannel

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • CSS Errors for every component

    6
    0 Votes
    6 Posts
    174 Views
    Christoph HartC

    Oh, but this style sheet should correctly assign the label selector to the outer UI component - I assume you don't use it with nested UI components? Can you make a minimal example?

  • startInternalDrag failing on panels created via addChildPanel

    1
    0 Votes
    1 Posts
    40 Views
    No one has replied
  • Passing Lambda Variables not working in HISE?

    Solved
    12
    0 Votes
    12 Posts
    296 Views
    David HealeyD

    @Christoph-Hart said in Passing Lambda Variables not working in HISE?:

    Have you tried the /compact function in Opencode?

    Sounds promising, looking into it now.

  • [Feature Request] Relative includes

    3
    4 Votes
    3 Posts
    374 Views
    David HealeyD

    Claude PR

  • 0 Votes
    2 Posts
    164 Views
    David HealeyD

    @MZLY Have you compiled HISE?

  • 0 Votes
    7 Posts
    194 Views
    M

    @Lindon Thanks for the link!

    That explains why I was getting the 'Unknown Function' error—I was trying to call it on the Synth object instead of a ScriptPanel.

    I’ve set up a hidden panel to handle the callback now, and it’s working perfectly. Appreciate the clarification!"

  • Right click on a windows tablet

    16
    0 Votes
    16 Posts
    327 Views
    ulrikU

    @Oli-Ullmann Yes, I do exactly like that

  • Declaring variables before a for loop necessary in some cases?

    8
    1 Votes
    8 Posts
    294 Views
    CyberGenC

    @David-Healey & @dannytaurus thank you guys. I'll update.

  • 0 Votes
    23 Posts
    958 Views
    HISEnbergH

    @David-Healey Ah that video flew under my radar!

    Indeed I do have the same issue, same with the examples in the HISE docs. I've mainly gotten around this just sticking to the old school method of reg variables. I haven't seen many HISE scripts using Lambdas.

    Something must be off with my HISE setup in XCode so I'll dig around a bit.

  • How to Save a Preset?

    Solved
    7
    0 Votes
    7 Posts
    965 Views
    P

    @Orvillain so what happens if there is no preset file in the directory, like when you first deploy the plugin? Wouldn't the browse function fail, since it wasn't able to get a file?

  • Peak meter - for input

    3
    0 Votes
    3 Posts
    97 Views
    S

    @ustk I kinda figured it out I think, made another Simple Gain in the end of the line and linked to it on the meter, it's working

  • Cross script communication with broadcasters

    7
    5 Votes
    7 Posts
    315 Views
    David HealeyD

    Aha mystery solved, I broke it myself in my fork when I commented out these lines to temporarily fix another problem :p

    https://github.com/davidhealey/HISE/commit/21eb98a5c364d7333ee5babaf2a783b408121547

  • Any way to cancel installExpansionFromPackage?

    2
    0 Votes
    2 Posts
    149 Views
    David HealeyD

    @David-Healey Bump bump

  • 1 Votes
    23 Posts
    1k Views
    David HealeyD

    Bump again

14

Online

2.2k

Users

13.5k

Topics

117.4k

Posts