• Typing to MIDI Keyboard with Numpad keys

    General Questions
    2
    0 Votes
    2 Posts
    24 Views
    dannytaurusD

    @pratitghosh Use Content.setKeyPressCallback()

    https://docs.hise.dev/scripting/scripting-api/content/index.html#setkeypresscallback

    It accepts JUCE key descriptions. The numpad keys are named "numpad 0" to "numpad 9".

    https://docs.juce.com/master/classjuce_1_1KeyPress.html

    A few gotchas:

    there's no keyRelease or keyUp trigger, so you can't detect held keys - for one-shot drums this is fine held keys repeat at the OS repeat rate, so maybe check for that the key triggers only fire when he plugin has focus, otherwise the DAW will action the keypresses instead
  • Crash when adding Parametric EQ in latest HISE build

    Bug Reports
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Report Latency?

    Scripting
    4
    0 Votes
    4 Posts
    70 Views
    dannytaurusD

    @Chazrox said in Report Latency?:

    Engine.getLatencySamples()

    All that does is give you back the number you already set manually with Engine.setLatencySamples().

    If your plugin introduces latency (not all do) then you have to calculate or measure the amount of latency in samples and set it in Engine.setLatencySamples(), which is then reported to the host by HISE/JUCE.

    If your plugin has a variable amount of latency, possibly from switching a latency-producing effect in/out, then you have to either:

    Adjust Engine.setLatencySamples() in realtime, as the amount changes, so the new value is reported to the host, or Report a larger fixed value to the host and compensate yourself within the plugin.

    Example: if you have a effect in your synth that uses oversampling and introduces 100 samples of latency, you can either:

    Use Engine.setLatencySamples(100) every time the effect is enabled in the synth, then Engine.setLatencySamples(0) when it's disabled, or Set Engine.setLatencySamples(100) at initialisation then compensate yourself in the plugin by adding a fixed delay of 100 samples when the effect is disabled and removing the delay when the effect is enabled.

    The second method seems better because you're reporting a fixed amount to the host them compensating within your own plugin.

    If you use the first method and keep reporting different amounts of latency to the host, you won't know exactly when or how the host will apply the new latency value (next block, next play, will it glitch when it changes, etc.)

    It sounds complicated but it isn't when you get your head around it.

  • MIDI Output from an RNBO-based HISE Audio FX Plugin

    General Questions
    7
    0 Votes
    7 Posts
    184 Views
    voxuer1V

    @voxuer1 I managed to get MIDI output working in HISE Audio FX plugins (VST3).

    I made a few changes to the HISE source:

    Enabled MIDI output for regular FX plugins. Changed the VST3 export settings to enable MIDI output. Modified the scripting MIDI handling so that CC messages from functions like Synth.addController() are sent to the host.

    Tested with Ableton Live and REAPER – MIDI CC messages are received correctly.

    AU is not working yet, still investigating.

  • VST3 compiled plugins not working.

    Scripting
    3
    0 Votes
    3 Posts
    65 Views
    ChazroxC

    @David-Healey all great questions which I have no answers for as of now. I have not used pluginval before. I'll look into it.

  • Plugin not working in DAW

    General Questions
    5
    0 Votes
    5 Posts
    60 Views
    S

    @Chazrox What do I need to install?

  • Setting the playback position of an Audio Loop Player

    Solved Scripting
    7
    0 Votes
    7 Posts
    155 Views
    ulrikU

    @Yinxi My version is compiled from the develop branch in August last year.
    If it's not working, see to that you always keep the total length untouched
    Maybe this will work

    reg length = SamplePreview.getSampleRange()[1];

    Here's an updated version with loading sample with right click as well

    HiseSnippet 2200.3oc2X01aicTE9dSxsB61szVJR7wAKnbSjwuzM6KvpEbdkFHYqINa2VPnpw26X6gb8LVycbbLciTEeBwm3eB+Q5G3mB+.PrbNybe01Y2rQzJJVQwdlyYNmm471LmoqRFvhikJG2pmMeByw8s75MWnGs2HJW3bz9Ntdd6bbWmcmOgFGyBcbcW+Wgjbqrgi4y+7WtKMhJBX4S437IRd.6X9XtNe1tc9M7nnCogry3iKv81cNJPJ1SFImBvXcuVNSnAmSGxdBEYaMOmOhFOxwcKufvsC1N3982tMkN3As6eeV+G19AsYOL3dg+rf.Zv85Gz9t2k539FGDx0RUOMUyhcb2XWY37dijyDVE7I7Xd+HFNnsSOPy1oOTFEhaQbVm8FwiB6lZehc.KQ2bq05Vq066cBOjmMetU6cLDH4qnnAzcsxva8RvqcQ30p.7VAjbK.oMrP5c85En3Sz4TP77ldGIzL0.J3mJBEKuNq82dSu8j.GBciwzyYGpfAYqve6VspS9vVs17QUq1rIoaDcNoI4YzKXCjpwUA2WrlbAUQ5QGOIh0UwtfylQdLwDK0XHSuyzPtLkZBv7qUh8Zf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omLcbOnvc.Czt.tbCdgc20vKCaG2BGiVfdLQnY.bulWjPrMN1MgX6Theiniwz.k7yCr2XGiS+NlYf8svTyuh2I3XR6kud9XnJ2mGDTVTKsvO71tv6daW3121Edua6Bu+scgO31tvG9pWHdHzNS0xw1TSGmS5dfouEW2r6I3tty+AEhKKPC
  • Freqlab & Plugin Jam from The Audio Programmer

    General Questions
    1
    3 Votes
    1 Posts
    59 Views
    No one has replied
  • Problem with Projucer/microsoft viual studio

    General Questions
    8
    0 Votes
    8 Posts
    116 Views
    David HealeyD

    @stijn45 I think Compile Project will show the wizard, but I use Export as instrument

  • Crash when compiling AU

    General Questions
    24
    0 Votes
    24 Posts
    210 Views
    Y

    @David-Healey Do you want to laugh?

    This is actually really hard to find.

    The problem that causes the issue was a file in the image folder that contains 0 data. 0 pixel
    It was a “.DS_Store“ hidden, this is a normal file create by the finder to store data.
    But Hise tried to export it.

    Sooooo silly haha,

    It compiles well now.

    I had to delete it with terminal and absolutely not reopen the image folder before exported or it will automatically recreate the DS Store file.

  • 0 Votes
    13 Posts
    186 Views
    ulrikU

    @Yannrog I don't know if I missed some information but, if you only need to switch between 2 different values from a button set it up like this:

    inline function onBtnControl(component, value) { local v = value ? 64 : 63; Console.print(v); // control something with v }; Content.getComponent("Btn").setControlCallback(onBtnControl);
  • 0 Votes
    6 Posts
    122 Views
    David HealeyD

    @Yannrog The ids you have there are pitch wheel modulator and midi controller.

    You probably don't want the mod wheel controlling pitch though.

  • Compiling Scriptnode to dll removes all paramters....

    General Questions
    20
    0 Votes
    20 Posts
    401 Views
    ChazroxC

    @Christoph-Hart What is the best tips you have for smoother ScriptFX workspace with so many parameters? 2000??! I have an M1 Max Mac Book Pro and it gets sluggish when adding a lot of modules.

  • 0 Votes
    5 Posts
    103 Views
    Y

    @David-Healey oh ok,

    Thank you

  • 0 Votes
    2 Posts
    97 Views
    ulrikU

    @Yannrog zip it and give us a link

  • Compressing samples to monolith error

    General Questions
    16
    0 Votes
    16 Posts
    277 Views
    S

    @David-Healey
    I forgot that.
    Thanks for your help.
    Your the best!

    Stijn

  • AI takeover the plugin industry

    AI discussion
    17
    2 Votes
    17 Posts
    1k Views
    Q

    [50 yr old, developing virtual instruments after cancer fight]
    "There's a sucker born every minute" - I always found that a little gross, as a mantra, but I've watched successful people in sales say it with glee.

    Now I've been around long enough to see the damage of it.

    [there was a lot more to this message.. the math of compression, delay, chorus etc, that what worked in 2001 works today - they don't tell us that]

    I'm on KVR looking at 39 pages of Reverbs, 23 pages of Delay, 50 pages of compressors.. you get the point.

    I think the industry has shot itself in the foot in many ways and the use of AI is also a backlash response to that. I realize that's not business minded, I'm probably not business minded, but I'm also not 'sell the most stuff to ignorant people' minded either. Life is short, more creating, less FOMO, buying and wasted time for everyone, developers and consumers both. I'm making virtual instruments now, I'm late to the sales game, but not the consumer one :)

  • EMPIRE VST // Create Audio Plugins Without Coding \\

    General Questions
    3
    0 Votes
    3 Posts
    523 Views
  • Payment providers compared

    General Questions
    23
    8 Votes
    23 Posts
    3k Views
    tobbentmT

    https://www.lemonsqueezy.com/blog/saying-goodbye-to-lemon-squeezy
    LemonSqueezy is out of the running, hope everyone finds a clear path off it!

  • Goniometer Alpha (reduce opacity)

    General Questions
    3
    0 Votes
    3 Posts
    186 Views
    Y

    @Oli-Ullmann Thank you,

    I will try