• 0 Votes
    9 Posts
    123 Views
    F

    @David-Healey In Image Draw I have : g.drawImage(obj.text, a, 0, 0); and I just change this , for column index >= 0 .... obj.text, obj.area ( was a here) , "centred"

  • 0 Votes
    15 Posts
    85 Views
    David HealeyD

    @Jaytove said in I HAVE MY VST DONE COMPILED ALL EXPANSIONS MADE HOW DO I ADD INSTALL EXP BUT ON MY INTERFACE:

    you said some thing about showing me how to do to do this when would you avilabilty be ?

    I'll post it next month on Patreon.

  • 0 Votes
    3 Posts
    52 Views
    ustkU

    @Sawatakashi I can't get you a far advanced response, but basically yes, you'll have to go C++ and probably a SIMD integration regarding the efficiency.

    But yeah that's probably how I'd do it, not knowing if there's a better (and accessible) method.

    Since a C++ node gives you access to Hise API, Juce API, and any third party library you'll want to import, Hise won't be the bottleneck.

  • Long loading times due to variable declaration

    Solved
    5
    0 Votes
    5 Posts
    36 Views
    Oli UllmannO

    @David-Healey
    All right, thank you for your input! :-)

  • Show value on knob, but not editable

    27
    0 Votes
    27 Posts
    192 Views
    David HealeyD

    @Chazrox said in Show value on knob, but not editable:

    You can do it a lot easier with script and a label.

    If you're going to add a label for each knob might as well add a knob for each knob. There's no real benefit.

  • HISE as MIDI Clock Slave

    7
    0 Votes
    7 Posts
    84 Views
    David HealeyD

    @j28 I've not used it but the documentation here seems relevant https://docs.hise.dev/scripting/scripting-api/transporthandler/index.html

  • 1 Votes
    22 Posts
    691 Views
    David HealeyD

    Bump bump, the error handler still not triggering here. Let me know if you need a test project.

  • drag midi from daw to plugin

    1
    0 Votes
    1 Posts
    41 Views
    No one has replied
  • Possible Issues with HISE Source Code

    6
    0 Votes
    6 Posts
    72 Views
    C

    @David-Healey (Thank you.) Yes, that was one of the nice things that @Christoph-Hart did, and it solved an issue where (as I recall) the old callback would fire before the samplemap actually loaded. (EDIT: It. may have been your idea, lol.)

  • user password containing "

    14
    1 Votes
    14 Posts
    246 Views
    Dan KorneffD

    I can't seem to make this repo public for some reason, but here's the download link:
    https://dankorneff.com/wp-update-server/packages/korneff-jwt-auth.zip

  • XY Pad with Optional Motion + Speed Control (HISE Script)

    6
    1 Votes
    6 Posts
    156 Views
    Oli UllmannO

    @JamesC

    You can achieve all of this relatively easily with the modulation system. Here is a snippet for you. The snippet is a little more complex because I am controlling the volume of four layers with one XY pad.

    If it's too complicated and not immediately understandable, I can build you a simpler snippet tomorrow. Just let me know... :-)

    In the end, this can be achieved with relatively little code, and you don't need a timer or anything like that. You can also use this method to control your pad with all the modulators that HISE has to offer. :-)

    HiseSnippet 3261.3oc6bs0aabbEdojnikRSQbaJRQ.Jv.ihhkITzjTT4hTcrrDkrIhtPXJaKEifjg6Njbg1cF1cWJRlF2l+JEnn+G5SwE8OP6C887TeNOkGa5YlYWtyRsjhVxVV1lDvzbOy4Ly24xblyLCop5xLHddLWsTKre+1DsT+rz05S8asQKrEUqRYsTuY5d82gYtOwyWa89swddDSsTol8NbFRM+bZhW+vsVGaioFjHRZZOfYYP11xwxOhZ009LKa6svlj8sbT3tzZULXzMX1rN.XlMcds1XiivMI6h4rMSZs6h8Zok58SmujA9iK1X4kV5S9jOZYy5DiFEH0+HCb9kwMVFCTKgKsbgRZotxllV9L2Z9XehmVp4VmY1uVKVWpb.dfkmUcaB+gBZ0fQVRdKlsIWE4T01nkksY0PqjmF.3pQ1rYk1r2I8NVlVCnGY6daQCnHITMfolIN7lMF7JnBu7JvKAHkRARyIgz0RWyv0pseTKReYEpOwsAF7SpPQxq1L+8qkdCFvA0OmC9HxVtvCCjP+CymOKBdKypKr.3q77QGicQMAk0CcSjHrIWSh+sss2rQChgum90qY4z1lf3wJWOtXGyr+LJqNWxGs.BdENvPOrAyoMiBOnecduW35YxdJrT7zYYoSmkRWOyBeQLTVESI1E.LlrPxl4ZVjHGLRtOHNiGNRFOjynKoIxqEqisIL6qiMDi.7W.P2B23Fnal7KdS6fa21h1bwMA2hOw1tCsIgNNYhPzNU18KKuNLLKVHe9b4WMVSkkMAss7PMc6CBZBgDRwGr0IVn5V1VTB1k.7X4YzB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B3B.jm+J+u.VT47Vs+KMELNsB+WcqveoKMU3eqoU3OsB+WmpveooU3OsB+Wspvejql7s7eSCSqveZE9SqveZE9Sqv+hrB+RWZ9V8r1zJ7mVg+qSU3WZZE9Sqv+UqJ7KMsB+oU3OsB+oU3OsB+mCNrKhwvAa3x9RC4eaJ34FupfBn2Twe1cmO8N7mQEF9ODGZ7eF3VeogQ7t5DBV7rJ3RmUAKcVEb4ypfe3YUvO5rJ3Ge5BxqW+1c7YNx4Fv9Vpto72uVpA+34RMq1+2DSycn
  • Code feedback on this custom envelope panel

    15
    0 Votes
    15 Posts
    218 Views
    ustkU

    @David-Healey said in Code feedback on this custom envelope panel:

    For paint routines and mouse callbacks I'm not sure it makes a difference since the paint routine or mouse callback is still a regular function.

    Yes but the way I understand it (might be wrong though) is that it's faster to execute even if the outside part isn't inlined. The inline part containing locals, the code execution inside it seems faster especially for long paint routines or mouseCB. Then what happens after this isn't affected but at least the script part might be improved.

  • Sample import dialog menu + alert window LAF (Example)

    3
    1 Votes
    3 Posts
    71 Views
    C

    @David-Healey Oh yes! I did watch that video and have been using the unicode with buttons, but never wrapped my head using it that way.

    (Might be easier for newbies just to copy and paste this in!)

  • Anyone doing this to declare components?

    11
    0 Votes
    11 Posts
    375 Views
    David HealeyD

    @dannytaurus said in Anyone doing this to declare components?:

    Do you mean like this?

    Kind of.

    I split my scripts into lots of separate files, preferably one file per part of the project - what constitutes a part could be functionality, or it could be UI, I often have one namespace per main UI panel.

    For example, I'll have a file called Presets.js which contains the Presets namespace and this contains everything related to preset handling, including the UI.

    I'll have another file for handling expansions.

    I'll have another one that handles a drop down menu in my plugin's header. This will have items for opening the Settings page, the About page, etc. This is an interesting one because the menu itself shouldn't know anything about the Settings or About pages, it doesn't need to.

    But the Settings and About pages are aware of the menu's existence. So using broadcasters those namespaces can watch the menu and if the Settings option is selected the Settings namespace will show the correct panel, if the About option is selected then the About namespace will handle it. Everything is very self contained and links between namespaces/parts of the project are minimised as much as possible.

    Here is what the on init section looks like for my current project. Nice and clean 😀

    f0136148-47c7-4818-82cf-fc6d90abf1d0-image.png

  • 0 Votes
    2 Posts
    101 Views
    David HealeyD

    Each time you add a new entry the indexes will shift. Do a search of the forum and you'll find some solutions.

    One of the simplest is to use the item's text instead of the combobox value, but that isn't always suitable, it depends on how you have things setup.

  • Hise with Gumroad licensing system

    2
    0 Votes
    2 Posts
    144 Views
    bendursoB

    @Avián You should use Server.callWithPOST
    https://docs.hise.audio/scripting/scripting-api/server/index.html#callwithpost

    something like this based on what I read from the docs of gumroad (i'm not using gumroad, so I don't know if it works)

    Server.setBaseURL("https://api.gumroad.com"); const var params = { "product_id": "1234", "license_key": "your_license_key", "increment_uses_count": "true" }; Server.callWithPOST("v2/licenses/verify", params, function(status, response) { if(status == Server.StatusOK) { if(response.success) { Console.print("License valid"); Console.print("Uses: " + response.uses); Console.print("Product: " + response.purchase.product_name); } else { Console.print("License invalid"); } } else { Console.print("HTTP error: " + status); } });
  • Sampler playhead reset on noteOff

    1
    0 Votes
    1 Posts
    44 Views
    No one has replied
  • Phase Correlation Meter

    14
    0 Votes
    14 Posts
    420 Views
    dannytaurusD

    @resonant I find Claude very useful when coding. I use it every day in the Cursor IDE when I'm building web applications in Ruby on Rails. I'm about 5-10x more productive with Claude.

    I'm on the $20/mo plan with additional OnDemand pricing for extra requests. Given that I use it every single day, often for hours at a time, $20/mo is a bargain.

    If you open the HISE source in Cursor, you can ask Claude questions about code locations/definitions, workflows, how to write scripts in HISE, etc.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Automation problem in daw (get stuck when hit play)

    1
    0 Votes
    1 Posts
    37 Views
    No one has replied

13

Online

2.2k

Users

13.3k

Topics

115.5k

Posts