• Reverb visualizer

    16
    0 Votes
    16 Posts
    335 Views
    T

    @ulrik Okay sounds clear, but what is the right way to connect it in this scripting?

    // Initialize the Ellipses Panel
    const var PnlEllipses = Content.getComponent("PnlEllipses");
    PnlEllipses.set("allowCallbacks", "None");
    const var KnbSpread = Content.getComponent("KnbSpread");

    const var numEllipses = 5; // Variable for the number of ellipses
    const var strokeWidth = 2; // Variable for the line thickness

    // Function to draw ellipses based on spread
    inline function drawEllipses(g) {
    local width = PnlEllipses.getWidth();
    local height = PnlEllipses.getHeight();
    local centerX = width / 2;
    local centerY = height / 2;

    // Get spread factor from knob's value local spreadFactor = KnbSpread.getValue(); // Calculate the maximum size and distance between ellipses local maxRadius = Math.min(width, height) / 2; local step = maxRadius / numEllipses * spreadFactor; // Draw the ellipses for (i = 0; i < numEllipses; i++) { local radius = step * (i + 1); // Calculate opacity based on index // This will cause it to fade when it reaches the edges of the panel local opacity = Math.range(1.0 - (radius / maxRadius), 0.0, 1.0); // Draw ellipse g.setColour(Colours.withAlpha(Colours.white, opacity)); g.drawEllipse([centerX - radius, centerY - radius, radius * 2, radius * 2], strokeWidth); }

    }

    // Set the panel's paint routine
    PnlEllipses.setPaintRoutine(drawEllipses);

    // Knob Callback
    inline function onKnbSpreadControl(component, value)
    {
    PnlEllipses.repaint();
    };
    Content.getComponent("KnbSpread").setControlCallback(onKnbSpreadControl);

  • How to use detune from Synth Group on Scripted Synth?

    Unsolved
    4
    0 Votes
    4 Posts
    120 Views
    StraticahS

    @HISEnberg i could detune in faust, but i have a synth group with about selectabel 4 oscillator cores: waveform, virtual analog, wavetable, FAUST and its bad if only some of them detune properly :)

    solution would be to wrap each core into its own synth group but id rather start by using whats there than making it too complicated

  • node_properties.json file for costum c++ modules

    11
    0 Votes
    11 Posts
    153 Views
    griffinboyG

    @treynterrio

    template <int P> void setParameter(double v) { if (P == 0) { // This will be executed for MyParameter (see below) jassertfalse; } } void createParameters(ParameterDataList& data) { { // Create a parameter like this parameter::data p("MyParameter", { 0.0, 1.0 }); // The template parameter (<0>) will be forwarded to setParameter<P>() registerCallback<0>(p); p.setDefaultValue(0.5); data.add(std::move(p)); } } };

    The .h file is the scriptnode itself. As you can see, it has one parameter called MyParameter

    I think it's not been set up properly, whoever you got this from has not set up the node to do any processing, as seen by the empty process and process frame

    template <typename T> void process(T& data) { static constexpr int NumChannels = getFixChannelAmount(); // Cast the dynamic channel data to a fixed channel amount auto& fixData = data.template as<ProcessData<NumChannels>>(); // Create a FrameProcessor object auto fd = fixData.toFrameData(); while(fd.next()) { // Forward to frame processing processFrame(fd.toSpan()); } } template <typename T> void processFrame(T& data) { }
  • Best way to modulate things in synth?

    5
    2 Votes
    5 Posts
    136 Views
    StraticahS

    @oskarsh thank you! i even thought of asking to collab on the synth ^^

    oh thats great! I didnt know about the Matrix view. I just saw the table being created.

    Will check that out, thank you 🤝

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Noob Problems - Error Compiling Plugins

    Solved
    12
    0 Votes
    12 Posts
    190 Views
    S

    @d-healey Forgot to come back and thank you for the reply!

    Since fixing the IPP thing I've not had any problems spitting out working plugins on the Macbook. Great fun. I've worked through the first synth tutorial and that raised some questions that I may post later but I got the right results.

    I definitely have some other things to learn by nyself before I start bothering the forums again but I'm pretty sure I'll be back soon. ❤️

  • connecting Preset browser with Sampler

    2
    0 Votes
    2 Posts
    57 Views
    ulrikU

    @tiesvdam You have misspelled, you sample map list starts with uppercase

    const var SampleMaps = Sampler.getSampleMapList(); cmbSampleMap.set("items", sampleMaps.join("\n")); Sampler1.asSampler().loadSampleMap(sampleMaps[value-1]);
  • Can a lottie be used inside a LAF?

    6
    0 Votes
    6 Posts
    123 Views
    ulrikU

    @whoopsydoodle if you make a factory for making e.g. knobs, you could compliment the knob with a panel for the lottie
    I made a short example with a not so useful lottie 😁

    EDITED
    I made a mistake, this is what it should be!

    rlottielaf.gif

    HiseSnippet 2473.3ocsXktiaajDlx1JXmYSVj.jG.tCvBnwVglT2SLLb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CzR1TA.
  • How to draw super smooth Waveform?

    13
    0 Votes
    13 Posts
    692 Views
    mmprodM

    Thanks guys for the help- the closest I got was simply using the original code with the higher timer value like how @oskarsh suggested. But of course the animation is more choppy.

    @HISEnberg and @Mighty23 I tried both your methods- these work well but I can’t wrap my head around how to ‘restyle’ it to a ‘smooth’ waveform. I’m also getting the occasional HISE crash which may be a problem for future plug-in users.

    Im going to use the vanilla oscilloscope for my project. Once again, thanks for your generous help!

  • Best way to handle multiple Page sets?

    Solved
    9
    0 Votes
    9 Posts
    160 Views
    StraticahS

    the repaint fixed it :)

    i need to get used to panels, i want to create a custom preset browser - i think your examples got me a little closer to it @d-healey

    inline function onButtonChange(component, value) { Console.print("Button " + (value + 1) + " was clicked"); osctype1.setBypassed(value != 0); osctype2.setBypassed(value != 1); osctype3.setBypassed(value != 2); osctype4.setBypassed(value != 3); component.repaint(); }
  • Plugin build issue

    4
    0 Votes
    4 Posts
    88 Views
    LindonL

    @Kunal-Babbar ok well first -

    -- you cant export a plugin-or anything- if you havent got the environment set up correctly - and you will only know this by building HISE itself from the source code....

    But assuming you have done this, then it looks like HISE cant find the DDL - so this would be the case if

    you have used a script node network, and called it from a Hardcoded Master FX and you haven't compiled the DLL

    Export>Compile DSP Network as dll

  • 0 Votes
    4 Posts
    95 Views
    clevername27C

    @Kunal-Babbar Cann you show your Module Tree?

  • Why Don't I Hear Anything?

    Solved
    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • Set the Frequency of the Sine Wave Generator?

    Solved
    12
    0 Votes
    12 Posts
    136 Views
    clevername27C

    @ulrik My dude. I cannot thank you enough for this.🚀🎆🌈

  • Scriptnode Synth smoothes transients??

    10
    2 Votes
    10 Posts
    333 Views
    hisefiloH

    @clevername27 hi mate. I’m on vacations. I think i went with the scripfx mono to avoid smoothing. I will confirm when home

  • Strange problem with Hise and faust on linux

    15
    0 Votes
    15 Posts
    179 Views
    O

    @d-healey i have just selected llvm-15 but it still refers to llvm-13 and i actually removed it any way to override it to use llvm-15 using make

  • C++ effect modules

    5
    0 Votes
    5 Posts
    125 Views
    d.healeyD

    @treynterrio said in C++ effect modules:

    what do I have to write in the node_properties.json file?

    I can't help here, I've not delved into this realm of HISE.

  • Noob in 2025

    3
    0 Votes
    3 Posts
    76 Views
    ulrikU

    @RossoRacer I don't know about the precompiled binaries for Windows and macOS though, I have never tried them

  • Issue with Plugin Export in HISE on macOS

    14
    0 Votes
    14 Posts
    163 Views
    d.healeyD

    @filipalex96 Cool, how did you solve it?

  • Why does it crash the DAW?

    10
    0 Votes
    10 Posts
    291 Views
    ulrikU

    @Morphoice said in Why does it crash the DAW?:

    @ulrik Thanks for the test! Seems the problem does not translate to the snippet.
    I've built the project again from the ground up, copying all scripts, xml's and dsp's and now it seems to run just fine on my end too. What a weird glitch. I've had this before and I'd just love to find out why to prevent it in the future. It's no fun starting all over again ;)

    That's true, well I hope you can avoid the glitches!

17

Online

1.6k

Users

11.1k

Topics

97.0k

Posts