• LAF ModWheel / PitchWheel for your own use

    9
    10 Votes
    9 Posts
    121 Views
    DanHD

    @Christoph-Hart added to the snippet waiting room. Is that enough?

  • Issue creating a c++ script fx node with multiples .h files

    3
    0 Votes
    3 Posts
    57 Views
    P

    @HISEnberg Hi, thanks for the quick response !

    My filter was indeed inside ProjectName\DspNetworks\ThirdParty\src and I had a reference to it in my node header.
    I'm not sure if my first post was clear so here is a step by step to reproduce my issue :

    Create a new hise project Create c++ third party node template Compile DPS node as dll Create a src folder in thirdParty Create test_filter.cpp and test_filter.h // .cpp #include "test_filter.h" namespace TestFilter { Test::Test(float param){ test_float = param; } } /// .h namespace TestFilter { class Test { public: float test_float; Test(float param); }; } Inside the template, add #include "src/test_filter.h" at the beginning and TestFilter::Test t(0.5); in prepare

    Now if I try to build inside visual studio code I get a linker error saying that it can't find the definition of my constructor.
    If I add the dependency to test.h and test.cpp, it works, but only once, and if I retry to compile the dps network as dll I have to re-add the filters to my dependencies.

    And if I go back to hise and try to export as a standalone app, I have the linker error again.

    I hope this make my issue more clear and sorry if it wasn't on my first message

  • How do I declare this array?

    Solved
    2
    0 Votes
    2 Posts
    26 Views
    Oli UllmannO

    GPT gave me this and it works...:

    const msoXModulationTempSave = []; const var NUM_LAYERS = 4; const var I_SIZE = 16; const var J_SIZE = 8; const var K_SIZE = 2; // weil du [..][..][..][0] benutzt, mind. 1 Element for (l = 0; l < NUM_LAYERS; l++) { msoXModulationTempSave.push([]); for (i = 0; i < I_SIZE; i++) { msoXModulationTempSave[l].push([]); for (j = 0; j < J_SIZE; j++) { // letzte Dimension mit Nullen füllen var last = []; for (k = 0; k < K_SIZE; k++) last.push(0); msoXModulationTempSave[l][i].push(last); } } }
  • Help with css slider

    Solved
    13
    0 Votes
    13 Posts
    180 Views
    ustkU

    @DanH A chance ChatGPT's here to debug Hise...

  • Unknown function error

    3
    0 Votes
    3 Posts
    89 Views
    F

    @d-healey Fixed, thanks!

    I'm new to HISE so I'm bound to do beginner mistakes lol

  • 0 Votes
    2 Posts
    50 Views
    d.healeyD

    @Taihongcraft But the node within a soft bypass node

  • Stretch player node

    1
    0 Votes
    1 Posts
    40 Views
    No one has replied
  • Background Task || Help me understand this please.

    Unsolved
    9
    0 Votes
    9 Posts
    157 Views
    ChazroxC

    @ustk aaahhhh here you go! haha. I gotta see this...brb.

  • Control velocity from each incoming midi note with a Knob / Slider?

    7
    0 Votes
    7 Posts
    123 Views
    d.healeyD

    @Rognvald You can put it all in the interface MIDI processor if you want to keep things simple - just avoid doing any UI stuff in the MIDI callbacks.

    // This sort of thing should be avoided in a non-deferred script. Buttons[index].setValue(true); Buttons[index].changed();

    However the ideal situation is you separate UI logic from MIDI processing by using separate processors for individual tasks.

    You can add the velocity code I described above alongside your current script.

    Those reg variables you have should most likely be const. Rule of thumb is if the values are fixed (or it's an array or object) use a const. If the value is going to be dynamic then use a reg.

  • BackgroundTask.setFinishedCallback() || How to get status....

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Syntax Error ?

    Solved
    5
    0 Votes
    5 Posts
    92 Views
    ChazroxC

    @Lindon I havent gotten that one much before. I get whats happening now. 🙏

  • Setting ControlCallback w/ Loops ?

    Solved
    17
    0 Votes
    17 Posts
    212 Views
    Oli UllmannO

    @d-healey
    Yes, that's right! Thanks for the tip! :-)

  • CableBox

    18
    0 Votes
    18 Posts
    433 Views
    RetromelonR

    Hey @Orvillan,

    No big deal if I didn’t know how to post a snippet. Better to ask than mess around blindly, right? I’m really new to coding, mostly picking it up bit by bit.

    I love making my own tools and plugins, experimenting with sounds, and sharing my stuff for free with the community. I started with Synthedit, but it’s not really modernized, so that’s why I decided to switch to HISE.

    Honestly, I’m mainly a music producer, graphic designer, and sound engineer, and I want to put all of my passions together to create the plugins that I want to make. Since coding isn’t one of my skills, I have no choice but to learn it step by step to help me further with plugin development, since HISE requires some coding knowledge to work around.

  • License Manager (Wordpress) Deactivation help

    11
    0 Votes
    11 Posts
    299 Views
    It_UsedI

    @Christoph-Hart Thanks, I just don't know how to make my problem noticed, it doesn't bother me, but I had no other way out. I could write to you in private messages, but that's even worse than doing it in another post. I heard you, thanks again, and sorry again!

  • random float 0. - 1. how to?

    6
    0 Votes
    6 Posts
    102 Views
    iamlampreyI

    @Rognvald No problem 🙂

    This is a bit cleaner:

    inline function onButton6Control(component, value) { if (!value) { return; } // works the same as if (value) but the scope is a little bit cleaner local Knob1_value = Math.randInt(20, 20000); // this is already fine local Knob3_value = Math.random(); // you don't need range here, Math.random() is already within the range you're expecting Knob1.setValue(Knob1_value); Knob1.changed(); // these can be single lines if you prefer Knob3.setValue(Knob3_value); Knob3.changed(); }; Content.getComponent("Button6").setControlCallback(onButton6Control);

    If Knob1 and Knob3 already have their own Control Callbacks, you also don't need to independently call these:

    SimpleGain1.setAttribute(SimpleGain1.Gain, Knob1_value); // already handled by Knob1.changed(); SimpleGain2.setAttribute(SimpleGain2.Gain, Knob3_value); // already handled by Knob3.changed();

    Control.changed() is essentially simulating changing the control with the mouse, so you're basically calling the setAttribute function twice.

  • buttonpacks, panels, buttons and midi note fun...HELP! lol

    Solved
    4
    0 Votes
    4 Posts
    126 Views
    J

    @ulrik ahhhhhhh! perfect! thanks so much! this really simplifies everything!

  • Waveform how to get playback position?

    Unsolved
    19
    0 Votes
    19 Posts
    2k Views
    Christoph HartC

    @HISEnberg said in Waveform how to get playback position?:

    Your version is giving the actual sample value so it seems preferable:

    It also runs if your waveform is not visible.

  • Check if (!FILE) do this...

    Solved
    4
    0 Votes
    4 Posts
    82 Views
    ChazroxC

    @Oli-Ullmann @iamlamprey I promise you guys I was looking for this. hahaha. Thank You 🙏

    That was it...Thank you guys!

  • How To Link Keyboard Keys to Buttons

    5
    0 Votes
    5 Posts
    195 Views
    W

    @d-healey THANK YOU! IT WORKS PERFECT!

  • This topic is deleted!

    Unsolved
    7
    0 Votes
    7 Posts
    33 Views

24

Online

2.0k

Users

12.9k

Topics

111.4k

Posts