• A newbie question, how to write a loop?

    3
    0 Votes
    3 Posts
    88 Views
    CatABCC

    @Lindon
    Awesome, that's exactly what I wanted, thank you very much!🥂

  • Load Data to Preset Browser

    3
    0 Votes
    3 Posts
    79 Views
    J

    @d-healey The HISE gods have answered! Thankyou very very much :)

  • Using concatenation for key in object?

    2
    0 Votes
    2 Posts
    58 Views
    d.healeyD

    @VirtualVirgin

    local matrixTableReturnObject = {}; matrixTableReturnObject[name + "inputNameArray"] = inputLabels; matrixTableReturnObject[name + "outputNameArray"] = outputLabels.outputNameArray; // etc.
  • Is it possible to add parameters to a Control Callback?

    4
    0 Votes
    4 Posts
    104 Views
    d.healeyD

    @VirtualVirgin a broadcaster might be more suitable, check out the latest video on Patreon if you haven't already

  • Inline functions and const

    4
    0 Votes
    4 Posts
    243 Views
    d.healeyD

    @VirtualVirgin As the error message says, testReturn is not a function, you don't need to put () at the end.

  • How to prevent a note from being stopped before envelope is over?

    3
    0 Votes
    3 Posts
    77 Views
    MorphoiceM

    @aaronventure superb thank you

  • How can I make a panel with diagonal "click zones"?

    7
    0 Votes
    7 Posts
    164 Views
    ulrikU

    @ustk Nice done!

  • How to (Host Transport Callbacks)

    12
    0 Votes
    12 Posts
    539 Views
    JayJ

    @ulrik Thank you, that did it

  • why doesnt every note sound the same?

    4
    0 Votes
    4 Posts
    122 Views
    MorphoiceM

    @aaronventure that did it, thanks. super weird with the tap for click. it freaked me out not finding the problem ;)

  • To register local look and feel for panels, do I use "drawPanel"?

    5
    0 Votes
    5 Posts
    96 Views
    A

    @VirtualVirgin define an inline function with a g argument, write it and then just pass the function into the setPaintRoutine method call for any panel you want to use it for.

  • 0 Votes
    17 Posts
    254 Views
    VirtualVirginV

    @ulrik said in I am trying to get the position of the component that is being hovered over by the mouse to no avail:

    @VirtualVirgin it's Content.getComponent("ScriptLabel1"), you forgot the "Content"

    Sorry, I was trying to use the function you provided:

    // get the component object inline function getComponent(componentId) { for (c in AllComponents) if (c.get("id") == componentId) { return c; break; } }
  • Error Message I Don't Understand

    Unsolved
    6
    0 Votes
    6 Posts
    165 Views
    Dan KorneffD

    @clevername27 Unfortunately, I endure the same amount of suffering as everyone else. 😂

  • Trying to make a factory method but getting an error

    29
    0 Votes
    29 Posts
    660 Views
    d.healeyD

    @VirtualVirgin said in Trying to make a factory method but getting an error:

    Looks so obvious when you point it out!

    Yep, but it still took me at least 30 minutes to figure out what was going on.

  • Change "mode" on a knob

    3
    0 Votes
    3 Posts
    115 Views
    S

    @d-healey Thanks!

  • 0 Votes
    2 Posts
    86 Views
    d.healeyD

    I just went to the source to look into making an addNoiseToArea function and what do I find but sneaky undocumented HISE goodness.

    You can pass an object to g.addNoise!

    g.addNoise({alpha: 1.0, scaleFactor: 1.0, area: obj.area, monochromatic: true});

    alpha = noiseAmount

  • How to pass a string between scripts?

    11
    0 Votes
    11 Posts
    243 Views
    d.healeyD

    Oh actually, since you're not using a button to generate the random sequence, as in my snippet, but the note number which both scripts can already see, you can just use a connected sliderpack on the UI and keep it simple.

    Press middle C

    HiseSnippet 1198.3oc6Ws0baSDEdkSDTanCTFdkYDY3AYbFWqXG43ojgj3jzZvI1sNMjAdnyZoUVahztBo0owkg+X7.+B3GC+CfypKVxotWvz9.yfeHSN6dt7smKe93ggbKRTDODoT4rYADjxGqNZFS310ESYndGhT9B0HOpMIL.ackE22eJiZgETNSPhDnClEfihH1HEk0dnzDkxqih+7me6AXOLyhjeDBcNmZQ5S8oh7SGt22S87NFaSNi5WP6V60yhy5x83SA3slZCjDB3IjSwR0JohdDNxEo70pM11jPZ2zw1F2rosooYmc5zpiA1oQK7XCyNs1pU6s1osCR4CNxlJ3giDX.8Hk0OfaOajK+4rj.bNMhN1iHELPifHmb7wbOa4STdJpqK0ydXVdKBAdYXdVbsjr3mqdB0lN+77r4mFegVtEESfJkVDdqs.7LJBuFEf2RfToBPZ8DHcO0QVgz.Q9MR77Qp8fBYnCFpSEgRhtnR+lhZWYolIp6iuhbbHHL2BcyFM1TC9S0GToBTqhDZWiC0FE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• A Couple Preset Questions

    4
    0 Votes
    4 Posts
    97 Views
    d.healeyD

    @clevername27 I'm not sure but I think you use the UserPresetHandler.setPreCallback()

  • UI Factory Method

    6
    0 Votes
    6 Posts
    127 Views
    VirtualVirginV

    @clevername27 said in UI Factory Method:

    @VirtualVirgin If you search the forum, I wrote a detailed tutorial on using UI factories, along with example code.

    Thank you :)
    I'll take a look.

  • Redraw knob text after timer

    3
    0 Votes
    3 Posts
    128 Views
    whoopsydoodleW

    @d-healey yes of course. Much cleaner. Thanks!

  • Scriptknob wont update parameters

    6
    0 Votes
    6 Posts
    137 Views
    HISEnbergH

    @d-healey You're correct and this sounds to me like the cleanest solution. I really want to dive into broadcasters and rethink my scripting approach soon since they offer so much.

29

Online

1.8k

Users

12.1k

Topics

105.7k

Posts