• 0 Votes
    4 Posts
    318 Views
    Christoph HartC

    At some point we have to address that problem, I notice more and more posts just pasting the rubbish GPT output which dilutes the prestine information set available here in the forum.

    Regarding the problem at hand, a single look at one of the many snippets / code examples from a good source should solve that problem, tuck inline before the function definition and pass it into the call.

  • Panel image painting not working with other code

    3
    0 Votes
    3 Posts
    194 Views
    David HealeyD

    @jpbc I think you're just missing a closing parenthesis and semi colon after the laf function registration.

    By the way, you should probably use local look and feel here rather than global - it wasn't available when I made the video you're following.

  • Combo Box print Value

    12
    0 Votes
    12 Posts
    1k Views
    David HealeyD

    @voxuer1 That means the thing on the left side of the dot doesn't have a function with that name. You probably need to get the reference to your module in a different way.

  • Engine.loadFontAs

    Solved
    7
    0 Votes
    7 Posts
    431 Views
    Oli UllmannO

    @d-healey
    Thanks to you. I have not tried that. But now I have found the font. :-)

  • Find the ID from an modulator dynamically?

    3
    0 Votes
    3 Posts
    239 Views
    ulrikU

    @d-healey Beautiful, thanks!

  • I am stuck on using a custom sort function. What is expected as input?

    3
    0 Votes
    3 Posts
    208 Views
    VirtualVirginV

    @d-healey Thank you!
    I'll watch this in a bit.

  • Synth.createBuilder(); Help?

    Solved
    2
    0 Votes
    2 Posts
    164 Views
    CyberGenC

    @CyberGen Well, just by messing around, discovered that you can put the numbers instead of the builder.ChainIndexes.... So it's zero based:

    builder.create("GlobalStaticTimeVariantModulator", "Attack Time Mod", ampEnvelope, 0); // for Attack Time, 1 for Attack Level, etc.

    😁

  • Is panel.data persistent?

    Solved
    2
    0 Votes
    2 Posts
    344 Views
    David HealeyD

    @Simon Nope, only component values for components that are set to saveInPreset are.

  • How do you query the voice number?

    Solved
    6
    0 Votes
    6 Posts
    394 Views
    A

    @griffinboy you should set your fictional voice count, assign ids to array indexes and remove them when releasing notes. Then you can check along the array to fill the first empty index with a new od and set event data based on the index.

    Your event data for individual voices is in another array, obviously, all ordered by voice order.

  • setAllowedExpansionTypes - Safe to remove?

    3
    0 Votes
    3 Posts
    176 Views
    ?

    @d-healey It no longer crashes HISE :)

    I'm using Encrypted expansions

  • Where should I start for making a data table/browser?

    2
    0 Votes
    2 Posts
    142 Views
    David HealeyD

    @VirtualVirgin You could try table mode. You might also try using multiple viewports with lists - a bit like how the preset browser is laid out.

  • RR issue, any workaround?

    3
    0 Votes
    3 Posts
    187 Views
    rglidesR

    @d-healey Ah of course, that works, cheers David!

  • "contains" as part of a switch statement

    4
    0 Votes
    4 Posts
    248 Views
    Christoph HartC

    @Oli-Ullmann obj.text

  • Circular XY pad

    13
    1 Votes
    13 Posts
    2k Views
    mmprodM

    @hujackus awesome!

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    15 Views
  • Use CSS in Keyboard Floating Tile

    5
    0 Votes
    5 Posts
    498 Views
    CasmatC

    bada-bump is there any update on this, didnt find any related commit and messing with it in hise beared no luck, dont know if I missed something or if its still in the works?

  • Recommendation?

    10
    0 Votes
    10 Posts
    808 Views
    David HealeyD

    @Casmat Nope, you just have to match the shadow colour to the background. Experiment though you might get better results using radial gradients for example.

  • 0 Votes
    4 Posts
    281 Views
    David HealeyD

    For more complicated functions you could pass an array of parameters and branch to different functions based on the length of the array.

    For example

    inline function myFunc(params: Array) { switch (params.length) { case 0: return subFunc0(); case 1: return subFunc1(params[0]); case 2: return subFunc2(params[0], params[1]); case 3: return subFunc3(params[0], params[1], params[2]); } }
  • This topic is deleted!

    12
    0 Votes
    12 Posts
    115 Views
  • global time mod invert script

    3
    0 Votes
    3 Posts
    278 Views
    B

    @Lindon of course it is, thankyou.
    I think I tried that with intensity and had to do it the way I posted for it to work so I just went straight to that for inverting.
    Need to stop asking questions at 11pm when I’ve been going since dawn.
    Thanks

27

Online

2.2k

Users

13.5k

Topics

117.2k

Posts