• This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Global Midi Learn(not saved in preset) Possible?

    Unsolved
    16
    0 Votes
    16 Posts
    960 Views
    LindonL

    @Sawatakashi said in Global Midi Learn(not saved in preset) Possible?:

    @Lindon Hi, pardon me! how could i save and load the midi cc value individually like a preset using this script, and i can replace the default values by right clicking midi assignment on the knob UIs. Thanks, seriously I'm willing to pay for a good solution if you don't mind.

    the solution is right there in the snippet and the follow up post from me....

  • Exploring GPT Integration for Parameter Control in HISE?

    7
    0 Votes
    7 Posts
    437 Views
    A

    @marcrex Ship ollama or a similar layer with your plugin, and a model of your choice. For this you probably want a good tool calling model, like Devstral. You will need the super light version. Unsloth has a super small quant https://huggingface.co/unsloth/Devstral-Small-2505-GGUF/blob/main/Devstral-Small-2505-UD-IQ1_S.gguf but I have no idea how well it runs. Check Gemma 1b as well.

    Your system prompt needs to contain the functions that it has available for use and what each of them does.

    Define these functions in HISE.

    You'll run it by mounting the model, if not mounted, on plugin start, using BackgroundTask. These small models should be fast to mount anyway, so best to have it unload itself automatically after an hour of not using it.

    The user can then write an instruction and the model is fed system prompt + instruction via BackgroundTask. The system prompt details what it can do, the instruction tells it what to do. You want to explicitly tell it to return a "function call" in a clearly specified format (for example doThis(arg1, arg2)) and for that to be the only return, no other text.

    You should then validate the return of the BackgroundTask call, by checking that it contains a function by using string operations, and if it validates, you would call eval(return). eval() will attempt to execute the string within the code. In this case it's a function that you already defined, so it will run.

    In the end, the brunt of the work is you designing the tools (functions) that the model can call.

    This is a very simple example, if you want to chain tool calls, you'll need to feed the output of the function back into the model along with the previous prompt so that it can continue doing the work if needed.

    If you want an example of how to use eval(), I did a cool experiment here https://forum.hise.audio/topic/9086/hise-s-best-kept-secret-dynamic-plugins

    These are the limits of my current knowledge on the subject, some of these workflows may already be outdated, but hopefully I gave you a good starting point to go and explore.

    Before you download ollama and start fiddling with local inference, you can try it out instantly via OpenRouter. https://openrouter.ai/mistralai/devstral-small:free

    This free endpoint will of course use any data you send for training, but you're not gonna be sending any sensitive info, just your system prompt any whatever the user types in. For a simpler implementation (though obviously not as rock-solid) you can offer the user to enter their OpenRouter API and use the free endpoint that way, or provide your own via cloud functions, at which point it becomes a service. However, this way everyone can run the proper 24B model; on macBooks with 32+ GB of RAM it runs fine, but on Windows, VRAM isn't super easy to come by.

  • Plugin processing no sound...

    11
    0 Votes
    11 Posts
    738 Views
    Christoph HartC

    @Dan-Korneff That fix is included in the latest commits now BTW.

  • Limiter reduction parameters

    5
    0 Votes
    5 Posts
    254 Views
    ChazroxC

    @pcs800 also…Sometimes Console.print();-ing helps me find what something is doing. You can pretty much .print anything. Console. Print(); then just start moving stuff and playing stuff and see what happens.

  • Hot Key

    2
    0 Votes
    2 Posts
    108 Views
    d.healeyD

    @imnotskibidi

    ctrl+d

    Or set a custom shortcut

    f29582dd-225c-4443-bb9d-e8a5dcfe975f-image.png

  • Custom Keyboard

    4
    0 Votes
    4 Posts
    231 Views
    O

    @Christoph-Hart thank ou will give it a shot

  • HI_ENABLE_CUSTOM_NODES

    1
    0 Votes
    1 Posts
    97 Views
    No one has replied
  • This topic is deleted!

    5
    0 Votes
    5 Posts
    5 Views
  • Building my own sample content installer

    10
    0 Votes
    10 Posts
    520 Views
    OrvillainO

    @Christoph-Hart The more things change, the more things stay the same! 😂

  • This topic is deleted!

    10
    0 Votes
    10 Posts
    39 Views
  • There's something I don't understand about compiling a plugin

    20
    0 Votes
    20 Posts
    1k Views
    OrvillainO

    @d-healey Probably a bug of some kind then. All I can say is, commenting out TreeBuilder.buildModuleLayout() cured my crash. Chased my own tail for a bit over that is all!

  • Can we draw Path in CSS ?

    4
    0 Votes
    4 Posts
    518 Views
    Christoph HartC

    Let us know more about what you’re trying to achieve and we can give better advice.

    Damn, bots are getting better but this gave it away.

  • Is this what I think it is? :D

    7
    1 Votes
    7 Posts
    402 Views
    HISEnbergH

    @Lindon Yes I recall debating this a few months ago in one of the HISE meetings. You're essentially right as it looks like the dynamic container is essentially doing this anyways on the backend, just dumping the data to JSON (and writeToStream which is a new one I am not familiar with).

    Probably it boils down to preference, I like having as few UI components doing the heavy lifting with scripting.

  • 0 Votes
    5 Posts
    1k Views
    d.healeyD

    @AxiomCrux open the sample map in a text editor, change the save mode from 2 to 0

  • Windows codesigning certificate - Any suggestions?

    Solved
    11
    1 Votes
    11 Posts
    612 Views
    bendursoB

    What about this? https://techcommunity.microsoft.com/blog/microsoft-security-blog/trusted-signing-is-now-open-for-individual-developers-to-sign-up-in-public-previ/4273554

    Some comments say it didn't work for them, but others say it did.

    @d-healey you may wanna check this https://signpath.org/. I found it on a github comment, not sure if it works.

  • HISE + PluginDoctor = OP

    33
    4 Votes
    33 Posts
    9k Views
    Adam_GA

    solved; the trick is to export the multichannel version.

    thanks for the help as usual :D @ustk @aaronventure

  • Error in visual studio when building hise

    61
    0 Votes
    61 Posts
    5k Views
    pcs800P

    @d-healey Oh.... too late. I already deleted and redownloaded, etc. Building again now.

  • How to setup a WebSocket Sever

    5
    0 Votes
    5 Posts
    273 Views
    A

    @d-healey Thank you! That helps!

    I forgot there's also a document repo on github....

  • Can you export LFO as an fx plugin?

    8
    0 Votes
    8 Posts
    874 Views
    AxiomCruxA

    @clumsybear you could probably make it output midi CCs and export it as a midi generator plugin and use midi learn in logic to connect that midi... in fact I am pretty sure thats how logics built in modulators work

14

Online

2.0k

Users

12.8k

Topics

111.1k

Posts