• Custom table path, look and feel

    4
    0 Votes
    4 Posts
    308 Views
    ulrikU

    @d-healey try this

    TBLLaf.registerFunction("drawTablePath", function(g, obj) { var p = Content.createPath(); p.clear(); var str = obj.path.toString(); var arr = []; if (str.contains("q")) { str = str.substring(0, str.lastIndexOf("l")); var arr = str.split(" "); } else { arr = str.split(" "); for (i = 0; i < 3; i++) arr.pop(); } arr[10] = arr[13]; str = arr.join(" "); p.fromString(str); g.setColour(Colours.withAlpha(Colours.cadetblue, 1)); g.drawPath(p, p.getBounds(1), 1.5); });
  • panel.set("enabled", false)

    3
    0 Votes
    3 Posts
    231 Views
    ulrikU

    @d-healey said in panel.set("enabled", false):

    @ulrik I believe my solution was to loop over the child elements and any that are panels I disable/enable along with the parent.

    Ok, thanks for the tip

  • Reload via scripting

    4
    0 Votes
    4 Posts
    385 Views
    David HealeyD

    Try ExpansionHandler.refreshExpansions()

  • What Are You Using for Server/DB?

    3
    0 Votes
    3 Posts
    174 Views
    David HealeyD

    I'm using Vultr - https://www.vultr.com/

    I think it's MariaDB but from my point of view it works the same as MySQL.

    This is for my site and for making GET/POST requests.

  • Enable/Disable slider function

    3
    0 Votes
    3 Posts
    257 Views
    P

    @d-healey Great, thanks

  • Switch between LAF sliders?

    3
    0 Votes
    3 Posts
    181 Views
    P

    @d-healey will do in that case, thanks!

  • HISE RSA Not Working

    17
    0 Votes
    17 Posts
    2k Views
    LindonL

    @ustk said in HISE RSA Not Working:

    @Lindon said in HISE RSA Not Working:

    (and using RSA stops that as they cant generate your private key)

    unless 512 is "easily" hackable, right? Hence the 2048 size 🤷
    because if a hacker can easily hack a 512 key there's no point in building the most protective code

    yeah - EdDSA seems to be the way to go...if you want it secure - buit really the last hour has told me I know nearly nothing about asymmetric encryption...

  • Delay sync values?

    5
    0 Votes
    5 Posts
    596 Views
    P

    @Straticah Thanks, I'll take a look!

  • DB label linked to slider

    2
    0 Votes
    2 Posts
    157 Views
    David HealeyD

    @paper_lung Use a slider and style it with custom look and feel.

  • Initialize value at init?

    4
    0 Votes
    4 Posts
    453 Views
    Dan KorneffD

    Got a working solution. Just declare the variable as undefined, and then use an if statement in the knob callback to define if == undfined

  • Change modifier keys?

    2
    0 Votes
    2 Posts
    389 Views
    A

    @Dan-Korneff For sliders: https://docs.hise.audio/scripting/scripting-api/scriptslider/index.html#createmodifiers

    My experience so far is that you can disable or remap them here. If you want custom behavior, you can then use a mouse broadcaster to set up your own behavior.

    Buttons always trigger on click so if you want to do something else other than to flip it, you'll have to use a panel, but then you lose out on the snappy 0-1 DAW automation. You could try to use a slider and really slow down the mouse drag, use the broadcaster to switch 0/1 on click but I don't know if the DAW automation is snappy when the slider step size is 1 and the range 0-1.

  • How to debug Server.isOnline()

    6
    0 Votes
    6 Posts
    840 Views
    David HealeyD

    @Christoph-Hart said in How to debug Server.isOnline():

    I know that sometimes on macOS there is an issue with connecting to non SSL domains.

    That might be why I did this

    https://github.com/christophhart/HISE/pull/328/files#diff-16813562fe191a1534f1f835248ab9446725ab9ffa0543f31d84d9743adaf874R114

  • has something changed in Scripnode compiled nodes?

    3
    0 Votes
    3 Posts
    407 Views
    Dan KorneffD

    @Christoph-Hart said in has something changed in Scripnode compiled nodes?:

    Can you elaborate on that?

    This part is not related to Scriptnode (as far as I can tell).
    If I create a variable in my script and hit Compile, sometimes it doesn't show up in the ScriptWatchTable. I have to hit Shift+F5. And even then, sometimes that doesn't fix it. I have to restart. Even then the variable doesn't show up until I hit compile.

    I'm noticing a lot of overall crashes with HISE standalone as well.

    Any my exported plugins are now crashing with:

    Exception thrown at 0x00007FF971D0567C in PluginDoctor64.exe: Microsoft C++ exception: juce::JSONParser::ErrorException at memory location 0x00000035EA8FF4E8. The thread 0x46b8 has exited with code 0 (0x0). The thread 0x2abc has exited with code 0 (0x0). Debug Error! HEAP CORRUPTION DETECTED: after Normal block (#1714932) at 0x000001CCB2C5BF70. CRT detected that the application wrote to memory after end of heap buffer.

    Looks like I have a nice long day of debugging ahead of me 🕵

  • Is it okay to call .getValue() in the NoteOn function?

    3
    0 Votes
    3 Posts
    205 Views
    ?

    @Christoph-Hart ok sweet that simplifies things, thank you!

  • Destructor for HISE projects accessible via scripting?

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

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • isMetaParameter + automation help

    5
    0 Votes
    5 Posts
    797 Views
    Dan KorneffD

    @Christoph-Hart hero! Confirmed working now.

  • Built-in Sustain Pedal Behavior and NoteOff Suspension

    4
    0 Votes
    4 Posts
    222 Views
    A

    So there's a workaround for my request of the sustain pedal ignoring certain note offs.

    The built-in sustain pedal will not delay execution of Synth.addVolumeFade, and I can use this instead of Synth.noteOff when the pedal is pressed.

    I hope this isn't a bug, @Christoph-Hart 😛

  • How to set MIDI input channel for effect plugin?

    Unsolved
    1
    0 Votes
    1 Posts
    139 Views
    No one has replied
  • Trying to script a knob for timestretch funtion!!

    2
    0 Votes
    2 Posts
    159 Views
    David HealeyD

    @swishrr You can call your variables anything you want (almost), so just change the name of the second one.

    Alternatively just use the first one and when you need access to the sampler functions use Sampler1.asSampler()

29

Online

2.1k

Users

13.2k

Topics

114.7k

Posts