• Paint Routine Graphics and Mouse Callback in a Function

    6
    0 Votes
    6 Posts
    399 Views
    FortuneF

    @orange Whoohoo I didn't know if that is possible. Thank you so much, man!

  • Windows Debug Question

    4
    0 Votes
    4 Posts
    214 Views
    David HealeyD

    @DanH

    Yes and yes.

  • Call a function after the plugin loaded

    14
    0 Votes
    14 Posts
    623 Views
    ?

    @ulrik No problem.

    I think I found a bug, Settings.isOpenGLEnabled() returns always true o the compiled plugin, but it works on Hise.

    If you set the OpenGL "No" on the CustomSettings FT, GeneralSettings.xml shows OPEN_GL="0" when the plugin is closed, as it supposed to be. That's ok.

    But when you load the plugin again, even the OPEN_GL is set to 0 on the GeneralSettings.xml, Settings.isOpenGLEnabled() returns always true.

  • event.drag x, y data for multiple points

    5
    0 Votes
    5 Posts
    315 Views
    ustkU

    @harris-rosendahl

    Line 53, column 35: This expression is not a function!

    Can you spot why?

    Once this is fixed, you'll see that anywhere you click/drag, all of the 8 parameters are changing. This is because you don't know which point is being clicked/dragged.

    The reason for this is that the overall approach isn't the good one.
    Don't try to set any parameters at first, and just focus on the widget itself. Put your knobs aside, the parameters will come later. For the moment, you need a way to store the nodes so you can find one reliably when you click on it based on a certain area around its coordinates. Hint -> store them in an array of objects that represents their position (but not only, you need to know if the node is clicked or not).

    Then and only then, you can start to think a mouse CB that can detect where you have clicked, and resolve the "is there a node under the cursor?" question so the node in question can be focused and updated

    Then once you have this and are able to update the coordinates and repaint the nodes, you are ready to implement the parameters you want

  • Granular Synth

    13
    0 Votes
    13 Posts
    1k Views
    ?

    @Christoph-Hart Is there a way to use the granulator node polyphonically in scriptnode?? It has been improved upon quite a bit since the last time I checked!

  • [SOLVED] Changing Key Colors with Samplemaps

    3
    0 Votes
    3 Posts
    370 Views
    S

    @d-healey You were Right! I tried this code in a hidden Panel and works Perfectly! Thanks man.

    ScriptPanel1.setLoadingCallback(function(isPreloading) { if(!isPreloading) for (i = 0; i < 127; i++) { Engine.setKeyColour(i, Colours.withAlpha(Colours.black, 0.6)); if (Sampler.asSampler().isNoteNumberMapped(i)) Engine.setKeyColour(i, Colours.withAlpha(Colours.dodgerblue, 0.4)); } });
  • 0 Votes
    2 Posts
    217 Views
    ustkU

    @ustk Sometimes I just think too much...
    Or not enough! 🤣

    inline function load() { if (!prefFile.isFile()) prefFile.writeEncryptedObject(preferences, PREF_FILE_PIN); local decryptedPrefFile = prefFile.loadEncryptedObject(PREF_FILE_PIN); if (isDefined(decryptedPrefFile.showInfo)) { // whatever } } load();
  • Transient Designer/Shaper?

    5
    0 Votes
    5 Posts
    854 Views
    FatMitchellF

    @pluginboi DUUUUDEEEE thank you. This is so amazing. Thank you so much and thank you to @Christoph-Hart !!!!!

  • Favorite icon with LAF

    7
  • Disconnected master fader from the master container, after saving as XML

    4
    0 Votes
    4 Posts
    259 Views
    David HealeyD

    @gorangrooves I always save as XML (been bitten by .hip many times) and it's always been the same that the master chain has the same name as the XML so I guess I'm used to it.

  • ComboBox LAF

    7
    0 Votes
    7 Posts
    648 Views
    DanHD

    @d-healey doh! Ok I've figured out what I needed, thanks!

  • All voices Killed callback?

    7
    0 Votes
    7 Posts
    414 Views
    DanHD

    @d-healey I've made this - gonna store here while I apply to my project in case I lose it 😆

    HiseSnippet 1220.3oc4X0zaaaCFlxNJnxcqXcnEaGEJ1AGfz.K2uFPQQchsSWvhiMhyZ2NUvHQaSDIRAJprZTz+a6mv9Ira65ttSaujRxRJQ1yyasCaSGLz6WjO7kueIORvcIQQbAxv5r4gDjwGYNdNSNq6LLkgNpGx3VlCvQRhvNg0AyCwQQDOjgQ8WnXXXsER+7KO+.rOl4RxYgPujScIGSCnxbti570Te+CwdjynAEz9gcNxky5x84w.dpa1BEhcu.OkbBVoVMSjw188nRtXrDKIQHisNf6Me7L92yRz+kzH549DEgCZLrPIrOj66oPr5cT2YTeuQYm6HDxvbTtWndhW3NlCndzE7y8FehVfctEE8GF0JCu5kfmyxfWEPxn.j1JAR21brqfFJyknvyMMOhAWNSvfauHTRzEU6WqY1kCZvj6Efufb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YOBvtB9qS+vJUAian4.mal9ervxbfh1dwr4lls1qEJ.Z67ZWWUL88A+S01zdCr4AafMObCr4QafMOdCr4IafMe4JsQ0we+XIOHI9GXLpu9ajLLRl.RmJf9c3nOUXO
  • Laf knob story

    3
    0 Votes
    3 Posts
    262 Views
    ?

    @ulrik Wow, I wasn't good at Geometry when I am at school :)
    Thank you so much hero!

  • SNEX Saturation

    4
    0 Votes
    4 Posts
    372 Views
    ustkU

    @Fortune There's no official doc at the moment, and yes it's a bit in between JS and C++.
    There is the snex_shaper node that is made for, well, shapers...
    Though for simple shape algorithms, you might want to start with a simple math.expr node

  • Multiple Input / Sidechain?

    3
  • Image strips with LAF Rotary Sliders

    10
    0 Votes
    10 Posts
    1k Views
    ?

    Oh, thank you so much @d-healey it works great in this example! Now this image strip can be blended with vector graphics of the LAF rotary sliders 👍

  • Shader array declaration, how?

    11
    0 Votes
    11 Posts
    560 Views
    David HealeyD

    @ustk Yeah I think there is some manual intervention required to regenerate the online doc, I do not have that much power... yet

  • PluginDoctor to analyze external hardware

    5
    0 Votes
    5 Posts
    2k Views
    A

    @pstudioink Thank you for answering, but my question was about a specific function of PluginDoctor, not about how to develop plugins... never mentioned aliasing at all, you've probably mixed answers with another post by someone else

  • How to make Trial Plugins for 10 days

    196
    0 Votes
    196 Posts
    51k Views
    LindonL

    @ustk
    really, I give up.

  • IPP Missing in Plugin Export

    36
    0 Votes
    36 Posts
    7k Views
    A

    A year on and I just had this same issue for the first time, so I thought I'd update this thread for anyone else in my shoes. I got the same slew of ipp.h errors when trying to compile the master branch with VS2017 and IPP 2021.5.3.585, but I also got it to work by choosing "Static Library" in the Project > Properties > Intel Libraries for oneAPI dialog in VS. I didn't change anything in the HISE Standalone.projucer file (or elsewhere). I opened my finished HISE project and everything worked as expected, including the convolution reverb and analyzer, so I thought I was home free, but trying to export my plugin resulted in yet another slew of IPP errors. I downloaded IPP 2020.0.166 from the archive.org link above, plopped it on my desktop, and tried exporting again. To my shock and joy, it worked immediately. I didn't update any paths anywhere so I guess it just needs to exist somewhere on your computer? Seemed too good to be true but I'll take it.

    Also a heads up: If you have both installed and recompile HISE, the VS Project > Properties panel will have two categories for IPP. The 2020 one says "Intel Performance Libraries" and the 2021 one says "Intel Libraries for oneAPI." So if you changed the setting for the new version and then downgraded IPP to recompile, you'll probably need to reenable it since they're different options.

26

Online

2.1k

Users

13.1k

Topics

113.8k

Posts