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

    5
    0 Votes
    5 Posts
    106 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
    298 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
    183 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
    721 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
    128 Views
    S

    @d-healey Thanks!

  • 1 Votes
    2 Posts
    351 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
    507 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+7me6AXOLyhjeDBcNmZQ5S8oh7SG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aQejta.rUB2dpGVr3pJxE5Ru.J2KvhH2AfEQEyJtv26r8Wdag38TGREVtKGikVBFkqF8d.ioa8cW0ibbHVhb.tt5wW79YEOzS3SET1DfYIjJKxRdIXSYKBDcFi3ESsWRNXjH2Hq9OhvriE9K3S5kFy+d.3RirKQ9XqP9yrRFmj6Udm3S.Lwh2Aur5IRYsk7829vZtOyxZQW8RFt0pZXyU0vVqpgaupFZtpF1dUMbm2rgxeEx9SEb+jwFD5jgGESIonbDCCcfwcqn+FuRgCaB

    Peek 2024-12-17 00-39.gif

  • A Couple Preset Questions

    4
    0 Votes
    4 Posts
    127 Views
    d.healeyD

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

  • UI Factory Method

    6
    0 Votes
    6 Posts
    138 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
    241 Views
    whoopsydoodleW

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

  • Scriptknob wont update parameters

    6
    0 Votes
    6 Posts
    231 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.

  • How do I actually get the return from splitCamelCase?

    4
    0 Votes
    4 Posts
    98 Views
    d.healeyD

    @VirtualVirgin said in How do I actually get the return from splitCamelCase?:

    this is all pretty new to me

    You're doing great :)

  • Jump to DAW playback position

    Solved
    10
    0 Votes
    10 Posts
    798 Views
    Matt_SFM

    @ulrik Ok, I'm not completely useless then 😂

    It's the first time I'm using midi clips in a plugin so...
    Thank you again for your help, it's much appreciated !

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • possible to change font and text color of the performanceLabel with LAF?

    3
    0 Votes
    3 Posts
    241 Views
    J

    @d-healey
    ah thanks David.
    although i just realized i can totally do it from the property editor

  • Is there already a way to get sample properties by mapping?

    1
    0 Votes
    1 Posts
    112 Views
    No one has replied
  • Is there a way to peek inside sample objects?

    5
    0 Votes
    5 Posts
    339 Views
    Christoph HartC

    Dave is right you can only trace generic JSON objects not the one that wrap around C++ things.

  • Plugin doesn't respect UI Zoom Factor onInit

    25
    0 Votes
    25 Posts
    3k Views
    C

    @Lindon said in Plugin doesn't respect UI Zoom Factor onInit:

    @ccbl said in Plugin doesn't respect UI Zoom Factor onInit:

    @oskarsh how would that look in context?

    inline function onFiftyControl(component, value) { Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)

    Do you define the value as 1.0?

    I really don't know coding very well.

    so like this:

    inline function onFiftyControl(component, value) { if(value) Settings.setZoomLevel(0.5); }; Content.getComponent("Fifty").setControlCallback(onFiftyControl)

    After flushing my %appdata% config this worked! Thanks!

  • Envelope Follower Glitch?

    6
    0 Votes
    6 Posts
    186 Views
    griffinboyG

    @HISEnberg

    2012/GiannoulisMassbergReiss-dynamicrangecompression-JAES2012

    Search this online

  • Changing the Mouse-Over Colour on the Keyboard?

    Unsolved
    3
    0 Votes
    3 Posts
    74 Views
    C

    @d-healey Thank you, I should have thought of that!

26

Online

2.0k

Users

12.9k

Topics

111.4k

Posts