• drawFittedText has gone for a walk?

    Scripting
    3
    0 Votes
    3 Posts
    92 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

  • Expansion wide preset search

    General Questions
    3
    4 Votes
    3 Posts
    123 Views
    ChazroxC

    @David-Healey Killin it.

  • Build errors with latest commits

    Solved Bug Reports
    2
    0 Votes
    2 Posts
    99 Views
    David HealeyD

    @David-Healey Most of those errors were just stale files that a make clean didn't get rid of, I needed to remove the build folder completely.

    The error relating to DELETE is caused by one of the include files on Linux systems declaring a DELETE macro and this conflicts with your enum.

    A very minimal PR to unset the macro seems to solve it.

  • Building HISE with new JUCE system

    General Questions
    5
    0 Votes
    5 Posts
    85 Views
    David HealeyD

    @l4ch Yeah I try to keep it up to date. I think I'll be updating it again when the setup.hise.dev script is fully tested and has all the features across all platforms.

  • 0 Votes
    1 Posts
    40 Views
    No one has replied
  • Scriptnode EQ-issue on exported fx-plugin

    Unsolved General Questions
    2
    0 Votes
    2 Posts
    76 Views
    VorosMusicV

    Seems like the issue was the high-shelf node.
    The plugin functions fine without, but doesn't seem like a solution for the future to just not use it at all.

  • HISE Build Error Issue

    Bug Reports
    4
    0 Votes
    4 Posts
    65 Views
    B

    @Christoph-Hart Understood, thank you.

  • Regarding expansions

    General Questions
    5
    0 Votes
    5 Posts
    96 Views
    ulrikU

    @David-Healey Thanks!

  • What does this above value means

    General Questions
    5
    0 Votes
    5 Posts
    206 Views
    N

    @dannytaurus thank you so much, dont be sorry lol we are humans and humans make mistakes 😊
    thank you again🤙

  • 0 Votes
    5 Posts
    210 Views
    HISEnbergH

    @pratitghosh

    ggg.gif

  • 10 Votes
    15 Posts
    477 Views
    J

    @Sifres
    The storefront was easy to setup, but
    I have a half finished website. I was just testing it out, but seems to be really great so far.
    ...and I havent tried that JUCE module that can work with License activations.

  • Crash when clicking Parametriq EQ1 in module tree

    General Questions
    6
    0 Votes
    6 Posts
    203 Views
    pcs800P

    @David-Healey I found the issue.
    ParamEQ.setAttribute(band * 5 + 4, bandColors[band]);
    band * 5 + 4 is an invalid attribute index for the CurveEq

  • Absolute Samples - Windows 11

    Unsolved General Questions
    5
    0 Votes
    5 Posts
    173 Views
    L

    @David-Healey I had about 16, I just automated the find/replace in VScode and it worked really well. Thank you for the videos on exporting plugins, went back and followed them to the letter and they worked perfectly.

  • Something probably broken.

    Bug Reports
    2
    0 Votes
    2 Posts
    118 Views
    LindonL

    @Quemis what version of HISE are you using? have you compiled from the latest development version?

  • JUCE error while exporting VST

    General Questions
    17
    0 Votes
    17 Posts
    501 Views
    J

    @David-Healey said in JUCE error while exporting VST:

    @Jeetender How big is it?

    Content.makeFrontInterface(700, 400);

    const var scriptFx = Synth.getEffect("Script FX1");
    const var buttons = [];
    const var panels = [];

    for (i = 0; i < 5; i++)
    {
    buttons[i] = Content.getComponent("Button" + (i));
    panels[i] = Content.getComponent("Panel" + (i));
    buttons[i].setControlCallback(onButtonControl);
    }

    inline function onButtonControl(component, value)
    {
    if (!value) return;

    local idx = buttons.indexOf(component); local compSwitchValue = idx * 0.25; // Show corresponding panel for (i = 0; i < 5; i++) { panels[i].showControl(i == idx); buttons[i].setValue(i == idx); } scriptFx.setAttribute(0, compSwitchValue);

    }

    //const var scriptFx = Synth.getEffect("Script FX1");
    const var mtbuttons = [];
    const var mtpanels = [];

    for (j = 0; j < 3; j++)
    {
    mtbuttons[j] = Content.getComponent("MtrBut" + (j));
    mtpanels[j] = Content.getComponent("MtrPnl" + (j));
    mtbuttons[j].setControlCallback(onMtrButControl);
    }

    inline function onMtrButControl(component, value)
    {
    if (!value) return;
    local ide = mtbuttons.indexOf(component);
    local compSwitchValue = ide * 0.25;

    for (j = 0; j < 3; j++) { mtpanels[j].showControl(j == ide); mtbuttons[j].setValue(j == ide); }

    }

    const var rm = Engine.getGlobalRoutingManager();
    const var cable = rm.getCable("global_cable");

    const var Knob1 = Content.getComponent("Knob1");

    cable.registerCallback(function(value)
    {
    var dB = Engine.getDecibelsForGainFactor(value);
    dB = Math.max(-60, dB); // Clamp to -60dB
    Knob1.setValue(dB);
    Knob1.changed(); // Update UI
    }, AsyncNotification);

  • 5 Votes
    2 Posts
    106 Views
    ChazroxC

    Epic!

  • 0 Votes
    32 Posts
    1k Views
    David HealeyD

    I also emailed the Araelium dev and he said the situation is the same with Package Builder. The limitation is with the Apple installer which all pkg files use.

  • Pro Tools is not recognizing my AAX plugin.

    General Questions
    8
    0 Votes
    8 Posts
    263 Views
    lijas90L

    @svkpowa thanks!

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

    Scripting
    11
    0 Votes
    11 Posts
    320 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

  • New version removes show text box

    Bug Reports
    11
    0 Votes
    11 Posts
    267 Views
    S

    @David-Healey Wow haha. Works fine on PC, everything is fine there. I didn't feel the need to change it, since it was perfectly working for me. And sometimes updates cause troubles.