Categories

  • General questions and announcements about HISE

    7k Topics
    67k Posts
    J

    @jeffd
    also time stretching with multimic samples crashes ..
    so i guess that was fixed in an update.

  • Scripting related questions and answers

    2k Topics
    15k Posts
    A

    I fixed it on our end.

    There are three things at work here, one on the C++ side and two on the Editor side.

    The two separations are dependent on whether the action is question is done in the JS Layer or not.

    If the Convolution IR is not a UI element that has savedInPreset set to true if any other UI element is and also targets the Convolution IR as a function of its parameter target, it will leak memory. If the combo box selection (as demonstrated in both examples above) is done via the code as it's written, you will leak memory. However this also happens in the case where you manually select the IR via the file browser. I've identified as the culprit of this the way we deallocate the Convolution objects. They are queued for deletion in ConvolutionBase.cpp on line 673 and 674 for both channels. However, they never leave the deletion queue, so the copys that get sent there never run their destructors. This may be an issue with the deletion queue itself, however, I have changed those lines to use the reset() function of the convolution itself and that seems to solve the issue in the near term. Though I don't know the consequences of not queueing the deletion like @Christoph-Hart would. if(convolverL != nullptr) { convolverL.reset(); convolverR.reset(); } convolverL = s1; convolverR = s2; In the event that number 1 is active, any preset change will leak memory. Whether through the PresetBrowser or not it will always leak. So if say in FL Studio the Instrument or Plugin is reinitialized or the preset changed and reloaded, it will always leak. We fixed all of this by including the ConvolutionIR itself in the preset.

    That's all for now. I don't think it wise to make a PR with the above changes as I don't 100% trust my solution using reset() but it works in our testing and we'll be releasing an update to our primary library (all the plugins of which use this) today.

    I'll let you know our results. Would be thrilled to hear any additional opinions.

    Edit: loadAudioFilesIntoPool() is a red herring. I wouldn't bother looking into that. The issue is with the Convolution itself.

  • To share HiseSnippets, Interface Elements, GUI, UI/UX, Panel LAF etc..

    181 Topics
    2k Posts
    ustkU

    @It_Used Also, KeySpacing and ShowOctaveMark can be const var

    And this:

    var is_center = (OctCenter == obj.noteNumber); var bg_color = is_center ? Colours.withAlpha(0xB26776, 100) : Colours.withAlpha(0x575757, 100);

    can be

    var bg_color = Colours.withAlpha((OctCenter == obj.noteNumber) ? 0xB26776 : 0x575757, 100);

    or directly

    g.setColour(Colours.withAlpha((OctCenter == obj.noteNumber) ? 0xB26776 : 0x575757, 100));
  • All about ScriptNode DSP nodes, patches, SNEX and recipes.

    317 Topics
    2k Posts
    griffinboyG

    @MysticForgeRider

    I do custom c++ dsp modules for scriptnode.
    Depending what it is, I'm happy to help / licence.

  • A subforum for discussing Faust development within HISE

    109 Topics
    885 Posts
    resonantR

    @Mighty23

    Thank you for the explanation. I don't mean a graphic, but a modulation like the one in the image below. Not separate Right and Left, but a single one (like the scriptnode gate, comp...etc.).

    alt text

  • If you need a certain feature, post it here.
    602 Topics
    5k Posts
    C

    @griffinboy Yes if we are talking about perfect beat loops mine is not a solution...but for instrument looping its ideal...

  • Develop better software through collaboration and shared knowledge. Not just about coding —> covering the entire journey, from development to launching and promoting plugins or software.

    66 Topics
    567 Posts
    J

    @Chazrox @Christoph-Hart guys thank you, as you've suggested this would be a much better solution.

  • If you encounter any bug, post it here.
    2k Topics
    11k Posts
    elemen8tE

    @Natan Is this solved yet? Since I got the same problem with my Arp that is doesn't stop when the DAW is stopped.

  • Post your example snippets that you want to add to the official HISE snippet database here. We'll revise it, upload it to the repo and delete the post when finished.

    16 Topics
    103 Posts
    R

    @HISEnberg yes I saved each one before compiling but still got the issues.

    I only installed 4.1.0 the other day but have no issues building networks on my older version. I'll do a test nest time I'm at the laptop and see.

    And yes I'm on windows, ah ok you're getting them on windows too...at least I'm not going mad then. Wonder what the issue is though?

  • Everything related to the documentation (corrections, additions etc.) can be posted here
    64 Topics
    439 Posts
    d.healeyD

    @VirtualVirgin The doc you see in the API browser is auto generated from the HISE source.

    Link Preview Image HISE/hi_scripting/scripting/api/ScriptingApi.h at 372a9e682cff2f3b52ee432ae50977fc95d9173c · christophhart/HISE

    The open source framework for sample based instruments - HISE/hi_scripting/scripting/api/ScriptingApi.h at 372a9e682cff2f3b52ee432ae50977fc95d9173c · christophhart/HISE

    favicon

    GitHub (github.com)

    There are a couple of ways to edit the docs depending on if they are auto-generated or not.

    If you see bafcb1ce-22ff-4c1a-8fe6-cf7f08bca43b-image.png then you can click that to edit the doc directly.

    For the rest of the docs you should clone the docs repo, make your modifications, and make a pull request.

    Bit of info here too - https://docs.hise.dev/working-with-hise/project-management/documentation/contributing.html#setup

  • Collection of Blog Entries

    77 Topics
    717 Posts
    dannytaurusD

    @d-healey If you try Bungee let us know how you get on. I'm very interested in Bungee Pro. The demos on the web sound great. The transient retention is excellent.

  • The nerdy place for discussing the C++ framework
    158 Topics
    1k Posts
    HISEnbergH

    @Christoph-Hart You move quick! Glad I mentioned it, my HISE-senses were tingling when I heard about this project. :)

    Are you considering integrating the klang toolchain for rapid C++ deployment inside Scriptnode? I've been trying to find faster methods like this.

    On another tangent which I don't think anyone else here cares about except for me, is the introduction of MIDI 2.0 to the JUCE Framework. Obviously this will take a bit of time, as there really aren't any major devices on the market that even support this yet, but it would be good to keep an eye on this development and possible integration into HISE in the future!!!!

24

Online

1.9k

Users

12.3k

Topics

107.3k

Posts